Is there a way around having to restart tomcat every time a small change is made in java code?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Set
reloadableattribute of<Context>element incontext.xmltotrue.Then Tomcat will monitor changes in
/WEB-INF/classesand/WEB-INF/liband 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: