Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 适配 springboot3 jdk17 #3467

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ynx-official
Copy link

1.更新过时项目配置
management.server.servlet.context-path -> management.server.base-path
spring.resources.static-locations -> spring.web.resources.static-locations

2.更新依赖版本

spring 5.3.34 -> 6.1.8
spring-boot 2.7.18 -> 3.2.6
mybatis-spring-boot-starter 2.3.2 -> 3.0.3

3.移除依赖
javax.annotation-api

4.新增依赖
jakarta.annotation-api

5.新增打包插件 (适配 方法参数的名称没有被正确解析的问题)
maven-compiler-plugin

6.修改报路径问题
部分包名 从javax 变更为 jakarta

@zhipingwu
Copy link

大佬,请教一下,jdk17 兼容 jdk8 吗

@ynx-official
Copy link
Author

大佬,请教一下,jdk17 兼容 jdk8 吗

jdk8 直接用当前项目的master分支即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants