Reputation: 2983
I'm developing a java web-application with vaadin and spring and I'm using tomcat7-maven-plugin like application server during development. The problem is that when I run my application and I try to change everythings, I'm getting the following error.
I read many thread like: Hot Code Replace Failed (eclipse) How do I get Java “hot code replacement” working in JBoss?
But I'm sure that my jdk is the same for both compile and run steps, I have also the flag Project->Build Automatically activated but each time that I try to modify any thing I get the error above.
Upvotes: 0
Views: 1552
Reputation: 3783
Unfortunately Eclipse can't deal very well with hot code modifications.
I would suggest you to have a look to JRebel as I suggest in Eclipse Hot Code Replace Fail - republish web application post.
JRebel is a JVM Java Agent that integrates with application servers, making classes reloadable with existing class loaders. Only changed classes are recompiled and instantly reloaded in the running application. JRebel plugs into IDEs and build systems.
Upvotes: 2