Spring Boot 3.0 更新了些啥

404 阅读1分钟

学不动了,Spring Boot 3.0正式发布,最低java版本要求都成17了,多少小伙伴还是停留在java 8 的,一起来看看,更新了些啥!

java最低版本要求

Spring Boot 3.0 要求 Java 17 作为最低版本,如果你当前使用的是 Java 8 或 Java 11,则需要先升级 JDK,然后才能开发 Spring Boot 3.0 应用程序。

Spring Boot 3.0 requires Java 17 as a minimum version. If you are currently using Java 8 or Java 11, you’ll need to upgrade your JDK before you can develop Spring Boot 3.0 applications.

当然,用jdk19也是没问题的,3.0也通过了jdk19的测试。

Spring Boot 3.0 also works well, and has been tested with JDK 19.

第三方库升级

最低依赖 Spring Framework 6

Spring Boot 3.0 builds on and requires Spring Framework 6

其他组件

一些第三方jar

更多信息,还是去github上看吧,总而言之,言而总之,学不动

github.com/spring-proj…