After Maven builds the project, the project reports Error Java compiler level does not match the version of the instal

 

After Maven builds the project, the project reports Error Java compiler level does not match the version of the installed Java project fac

 

Project->Right-click->Properties->Project Facets->Modify the Java version in facets (drop-down arrow) to the version to be used

Maven build projects need attention

1. Right-click on the project->Properties->buildpath->jdk

2. Right click on the project -> Properties -> Javacompiler -> jdk version

3. Right-click on the project->Properties->ProjectFacets->jdk version

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326721815&siteId=291194637