springboot在执行过程中重启
其中出现的错误
2022-11-25 16:23:43.201 INFO 17892 – [ Thread-28] org.quartz.core.QuartzScheduler : Scheduler quartzScheduler_KaTeX parse error: Expected group after '_' at position 482: …quartzScheduler_̲NON_CLUSTERED shutting down.
2022-11-25 16:23:43.218 INFO 17892 – [ Thread-28] org.quartz.core.QuartzScheduler : Scheduler quartzSchedulerKaTeX parse error: Expected group after '_' at position 149: …quartzScheduler_̲_NON_CLUSTERED shutdown complete.
2022-11-25 16:23:43.218 INFO 17892 – [ Thread-28] sys-user : 关闭后台任务任务线程池
2022-11-25 16:23:43.220 WARN 17892 – [ Thread-28] .s.c.a.CommonAnnotationBeanPostProcessor : Destroy method on bean with name ‘shutdownManager’ threw an exception: java.lang.ExceptionInInitializerError
处理过程
处理pdf的方法处出现这种情况,刚开始查了调度quartz,异步CompletableFuture,看了两天源码,最后发现是热部署问题,把devtools:
restart:
# 热部署开关
enabled: true
把true改成false后解决。
感谢这位大哥的分享
https://blog.csdn.net/a1139628523/article/details/103469840