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