摘要:
阅读全文
摘要:
1:application.xml加上 <task:annotation-driven scheduler="qbScheduler" mode="proxy" /> <task:scheduler id="qbScheduler" pool-size="10"/> 2:定时器类加上注解 @Comp 阅读全文
摘要:
我们知道,当我们每次修改后台java代码的时候,一保存Tomcat就会自动去重新启动,这个叫热部署。非常麻烦,浪费时间,下面就是修改配置。将热部署 改为热启动的方法 在你的eclipse中 找到Server这个文件夹 ,下面有两个xml文件 1:将content.xml中 <Context relo 阅读全文