Java – can eclipse refresh Tomcat applications automatically?

I use eclipse indigo (EE) to build applications in the Java framework vaadin,

Otherwise, when I refresh the application page, I don't see any changes Even if I restart the server (I save the changes when eclipse automatically restarts), I don't clean up the Tomcat directory

The option "publish automatically when asset changes" is enabled

Is there a faster way? Or can the process be performed automatically?

Solution

No, there's no other way

You will only update JSP / HTML / etc Notice immediate changes when Class does not load / refresh automatically Changing the load / instantiation class while the server is alive would be contradictory, wouldn't it? At least not

It's best to do unit testing when developing something It can help you reduce the number of annoying server restarts

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>