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