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.