我使用以下热重新加载指令运行JHipster示例应用程序:
-javaagent:spring_loaded/springloaded-jhipster.jar -noverify -Dspringloaded=plugins=io.github.jhipster.loaded.instrument.JHipsterLoadtimeInstrumentationPlugin我将以下代码插入到com.mycompany.myapp.web.rest.AccountResource的getCurrentSessions()中,以测试热重新加载:
log.debug("Getting the current open sessions...");我没有看到debug消息。我在IntelliJ IDEA 12.1.6中运行它。
发布于 2014-09-12 19:35:30
在您的代码changes.It应该告诉Intellij刷新jar之后尝试ctr+f9或cmnd+f9 (如果您在Mac上),您应该会看到您的日志
https://stackoverflow.com/questions/25493888
复制相似问题