Search code examples
javaspringspring-bootintellij-idea

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 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 .


Solution

  • This problem is occurring in the newer version of Spring Boot. 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).

    This should solve the problem.

    Here is a screenshot where you select the version