[Getting started with spring boot] java: Error: Invalid source release: 17

Because I currently use jdK8 in the idea, and it is 17 in the pom.xml file, so I need to modify everything to jdk8

The jdk version of pom.xml is 8

maven's setting.xml file jdk is 8

And Java Compiler 

There are also project and module in Project Structure

Guess you like

Origin blog.csdn.net/tengyuxin/article/details/133803525