Intellij idea 13.1 and TomEE - hot swap doesn't work

I am working on a Java project that is deployed to TomEE Server (version: apache-tomee-jaxrs-1.6.0.2) and JetBrains IntelliJ IDEA 13.1.5 Ultimate edition. And I build everything with Gradle.

When I am working in debug mode (remote debugger / app server debugger) and trying to do HotSwap

(after changing one of the bit classes and pressing Ctrl+ F9), the IDE states:

3:25:54 PM All files are up-to-date 
3:25:54 PM Loaded classes are up to date. Nothing to reload.

      

but I know the files have changed ...

Adding the clock while debugging shows me that the class is still prev in it. state - changes are not updated.

But when I do the same process in a collegue station, everything works fine, in both modes. (remote / app server) changes update server after Make

.

The configuration is identical at both stations. (via SVN and manual triple check)

What could be wrong? Where else to check?

Thank.

+3


source to share


1 answer


This question is quite old, but I had the same problem (with IntelliJ Idea 2018.1 and Wildfly 10) and wanted to share my research results:

For me the problem was the drifting system clock. My development machine has home directories (where my Idea projects live) mounted via NFS (Network File System). Unfortunately, after some system update, the NPT (Network Time Protocol) client no longer worked and the system times from the development machine and NSF server were gone, leading to this issue. Synchronizing the clock fixed the issue immediately.



Another helpful link from the JetBrains support forum that might help: https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000110004-HotSwap-Loaded-classes-are-up-to-date -Nothing-to-reload-on-PC-not-on-laptop

0


source







All Articles