【发布时间】:2022-12-31 15:02:04
【问题描述】:
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 like
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 .
-
Spring Boot requires Java 17 not 11. So ofcourse you have issues when using Java 11 (that is also what the error is telling you).
-
Specifically Spring Boot 3.0.0. Older Spring Boot versions of course support Java 11 as well.
-
But spring boot supports other versions of java and this is the first time such a problem appear even though i made other projects with java 11 and 8
-
Spring 6/Spring Boot 3 requires Java 17. For older versions you need to stay at Spring 5.5 / Spring Boot 2
标签: java spring spring-boot intellij-idea