How to purge tomcat's cache when deploying a new .war file? Is there a config setting?

前端 未结 10 989
忘掉有多难
忘掉有多难 2020-12-09 14:43

I have a simple hello, world servlet application that I am just playing around with, and pushing it out to my tomcat server on a VPS.

When I make a change to my code

10条回答
  •  死守一世寂寞
    2020-12-09 15:26

    Seems a timestamp issue. According to tomcat documentation, if there is a new jsp or servlet this will create a new _java file in the work folder unless the _java.class files are newer than the jsp or servlets.

提交回复
热议问题