简体   繁体   English

创建新的 spring 引导项目时出现问题

[英]Problem while creating a new spring boot project

In the help.md file it's telling me that JVM was changed from 11 to 17 this is what the help.md file looks likehelp.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这是后来问题的一个例子

And even if i change the project structure manually to java 11 sdk i have issues with versions next.即使我手动将项目结构更改为 java 11 sdk 我接下来的版本也有问题。

This problem is occuring in the newer verison of spring boot.这个问题出现在 spring 引导的较新版本中。 So when creating project using spring initializr or spring starter project select the older version of spring boot (like 3.0.1 or 2.7.7).因此,当使用 spring initializr 或 spring 启动项目 select 创建项目时,旧版本的 spring 启动(如 3.0.1 或 2.7.7)。 This will solve the problem.这将解决问题。 spring starter image spring 初始图像

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM