https://www.jianshu.com/p/665213b3e2a9
随着业务的开发,使用的Spring Boot的版本比较新,有时需要跑一些定时任务,然后搭建了一个xxl-job的服务。
但是xxl-job自身的Spring Boot的版本比较小,现需要更新。
xxl-job Spring Boot 版本 更新
更新pom.xml
# xxl-job pom.xml
# 需要修改项目的版本号,和github中的代码区分开
<properties>
<spring.version>5.2.2.RELEASE</spring.version>
<spring-boot.version>2.1.9.RELEASE</spring-boot.version>
<mybatis-spring-boot-starter.version>2.1.1</mybatis-spring-boot-starter.version>
</properties>
更新properties文件
server.servlet.context-path=/xxl-job-admin
management.server.servlet.context-p