Solve the error reported by Springboot at startup: release version 17 is not supported

Today, when creating a new project, the following error occurred in the console:
insert image description here
Finally, after investigation, the following problems were found. Modify the following points to solve the problem.
1. Change the red arrow position from 17 to 11 insert image description here
2. Change the javaversion in the maven pom file from 17 to 11 insert image description here3. Change the version of springboot to 2.7.5 insert image description here
If the above does not solve the problem, you can try to check that the version of springboot when you create the project is too high.
insert image description here
The above is my solution when an error occurs, for reference only, I hope it can help friends who encounter the same problem.

Guess you like

Origin blog.csdn.net/Kirihara_Yukiho/article/details/131503335