java 创建新的Sping Boot 项目时出现问题

xuo3flqw  于 2023-01-01  发布在  Java
关注(0)|答案(1)|浏览(677)

help.md文件中,它告诉我JVM已从11更改为17,这是help.md文件的外观

The following was discovered as part of building this project:

* The JVM level was changed from '11' to '17', review the [JDK Version Range](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Versions#jdk-version-range) on the wiki for more details.

and here is an example of later problems
而且即使我手动将项目结构更改为Java11SDK,我也会遇到下一个版本的问题。

332nm8kg

332nm8kg1#

这个问题发生在较新版本的spring Boot 中。因此,当使用spring initializer或spring starter项目创建项目时,请选择较旧版本的spring boot(如3.0.1或2.7.7)。这将解决问题。spring starter image

相关问题