Is there a way around having to restart tomcat every time a small change is made in java code?
See Question&Answers more detail:osIs there a way around having to restart tomcat every time a small change is made in java code?
See Question&Answers more detail:osSet reloadable
attribute of <Context>
element in context.xml
to true
.
<Context reloadable="true">
Then Tomcat will monitor changes in /WEB-INF/classes
and /WEB-INF/lib
and reload whenever appropriate.
If you're using an IDE, this is configureable as server setting as well. Here's how it look like in Eclipse: