xxl-job 报:java.net.BindException: Address already in use: bind

在低版本的 xxl-job 中, 初始化 XxlJobSpringExecutor 执行器需要在 @Bean 中加上 initMethod = "start", destroyMethod = "destroy",
但是在高版本的 xxl-job(如 2.1.2)则需要删除 initMethod = "start", destroyMethod = "destroy"

原文地址:https://www.cnblogs.com/Lcch/p/16846902.html

posted @ 2024-01-15 16:10  天意啊  阅读(836)  评论(0)    收藏  举报