Reputation: 3082
I am using IntelliJ version 14.1.4 on Windows 7 64bit with oracle JDK 1.8.45.
When I change a method logic etc and click on "reload changed classes" from run menu, I get following error-
I've tried running IntelliJ as admin also, invalidating cache but that doesn't seem to help.
Note that I am using Jetty maven plugin to run my web application.
Upvotes: 2
Views: 2589
Reputation: 3082
As suggested by @HeathMalmstrom, Jetty maven plugin doesn't play nice when trying to reload changed classes. What I did was instead of using Jetty maven plugin, I wrote a class with a main method which embeds Jetty; now I run this class under debugger and everything works fine.
Upvotes: 2