Spring Loaded is not working

Asked

Viewed 113 times

2

I have a Spring 3.1.4 project

and I’m setting up the spring-loaded follows the image below:

inserir a descrição da imagem aqui

The Tomcat performs well but the spring-loaded is not working any change I have to raise Tomcat again.

1 answer

2

To documentation is clear when saying that classes loaded from JAR files are not reloaded, only files .class individuals who are on the disk, in some directory included in the classpath.

Without knowing its environment in detail I can’t conclusively state this, but I suppose:

  • You are including your project as a jar on WEB-INF/lib so it will not be reloaded; or
  • The location where your classes are being compiled by Eclipse is not in classpath from Tomcat, so they are not found.

About the second item, see this answer (in English) that mentions how a user solved the same problem by accessing the option Launch Configuration in the Eclipse, tab classpath, adding the project in user Entries.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.