Maven project, right-click -update project after the error reported the following solution:
1.Description ResourcePathLocationType Java compiler level does not match the version of the installed Java project facet.SSMDemo Maven WebUnknownFaceted Project Problem (Java Version Mismatch) 2.Description ResourcePathLocationType JAX-RS (REST Web Services) 2.0 requires Java 1.7 or newer.SSMDemo Maven Webline 1Maven Java EE Configuration Problem 3.Description ResourcePathLocationType One or more constraints have not been satisfied.SSMDemo Maven Web line 1Maven Java EE Configuration Problem
Solution: Add the following codes in pom.xml
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7(Modify to your own JDK version)</source>
<target>1.7(Modify to your own JDK version)</target>
</configuration>
</plugin>
</plugins>
Read More:
- [Solved] SpringBoot Pack Project: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources
- [ERROR] Failed to execute goal on project simple-project: Could not resolve dependencies for project
- [Solved] Error:Maven Resources Compiler: Maven project configuration required for module ‘XX‘ isn‘t available
- [Solved] MVN Build Project Error: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test
- [Solved] org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject…
- [Solved] Maven Project Packaging Error: Unable to find main class
- IDEA Create maven project error: Error running‘[org.apache.maven.pluginsmaven-archetype-pluginRELEASE
- [Solved] Maven Multi-Project Compile Error: The POM for xxx is invalid
- IDEA Create Web Project with maven Error: The desired archetype does not exista…
- Idea create Maven project Error: [error] no longer supports source option 1.5. Please use version 1.6 or higher, and the idea reports an error: error: Java does not support the error of release version 5
- Springboot Project Error: Failed to execute goal org.apache.maven.plugins
- [Solved] Idea Failed to recognize Maven and Project Error
- [Solved] Maven Project Error: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- [Solved] Maven Project Error: error in opening zip file
- [Solved] IDEA Import springboot Project Error: Cannot resolve plugin org.springframework.boot:spring-boot-maven-plugin:<unknown>
- [Solved] IDEA Start Maven Project Error: “Error starting ApplicationContext. To display the conditions report …”
- Resources is configured in the build of Maven project to prevent the failure of resource export
- Maven project running servlet jump JSP error: HTTP status 500 – unable to compile class for JSP
- [Solved] IDEA Add maven Project Error: Error:(3,21)java: Package javax.servletdoes not exist