I just stumbled upon the Spring Loaded project on the Spring website today. I'm trying to integrate this into a Spring MVC (using Maven and TOMCAT) I've been working on.
As per the instructions on the project page, I've downloaded the JAR file and added the following in the TOMCAT VM arguments (Inside Eclipse):
-javaagent:C:\Users\xxx\Downloads\springloaded-1.2.0.RELEASE.jar -noverify
I've also disabled 'Automatic Publishing' in TOMCAT.
Now, Once I start TOMCAT and make any changes to the controllers (or any other classes), I do not see any hot deployment happening. Is there anything I'm going wrong or is there any other configuration required?
Would appreciate any inputs.
I was trying SpringLoaded for a quick demonstration using Petclinic on top of Aptache Tomcat 7 during this week facing same issue as discussed here. Finally I found that I need to add the project to the Tomcat classpath. So in my case, I have opened the Tomcat "launch configuration" in Eclipse, and in the classpath tab, I have added my project in the "user entries" group. This causes springloaded works fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With