- 博客(3)
- 收藏
- 关注
原创 idea之springboot项目热部署
页面热部署实现application.properties配置如下:#thymeleaf startspring.thymeleaf.mode=HTML5spring.thymeleaf.encoding=UTF-8spring.thymeleaf.content-type=text/html#开发时关闭缓存,不然没法看到实时页面spring.thymeleaf.cache=false...
2018-02-23 10:30:55
206
原创 注解定时任务实现
引入依赖jar包 org.quartz-scheduler quartz 2.2.1设置任务自动扫描核心代码@Scheduled(initialDelay = 1000, cron = "*/10 * * * * *")//延迟1秒启动,每十秒执行一次public void start() { System.out.println("启动定时任务!");
2017-06-23 17:36:28
259
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人