[springboot]devtools在生产导致不断重启

  • 定时任务程序上生产后,不受定时控制,不断执行(发邮件),开发环境没问题
  • 知道原因了
  • 服务器上,每次都重启了!
2019-08-12 11:16:52.709 [Thread-6] INFO  o.s.scheduling.concurrent.ThreadPoolTaskScheduler - Shutting down ExecutorService 'taskScheduler'
2019-08-12 11:16:52.919 [restartedMain] INFO  com.asiainfo.vacmonitor.VacMonitorApplication - Starting VacMonitorApplication on zhifu-test1 with PID 19070 (/app/webapp/vac-monitor/classes started by webapp in /app/webapp/vac-monitor)
2019-08-12 11:16:52.924 [restartedMain] INFO  com.asiainfo.vacmonitor.VacMonitorApplication - The following profiles are active: prod
2019-08-12 11:16:53.300 [restartedMain] INFO  o.s.scheduling.concurrent.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler'
2019-08-12 11:16:53.338 [restartedMain] INFO  o.s.boot.devtools.autoconfigure.OptionalLiveReloadServer - LiveReload server is running on port 35729
  • 真的是devtools的原因!连不上数据库就会不断重启!
  • 删掉这个jar就解决!

转载于:https://my.oschina.net/u/2464371/blog/3089402

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值