新建maven项目,pom.xml报错
错误1:Description Resource Path Location Type
CoreException: Could not get the value for parameter compilerId for plugin execution default-compile: TypeNotPresentException: Type org.apache.maven.plugin.compiler.CompilerMojo not present: UnsupportedClassVersionError: org/apache/maven/plugin/compiler/CompilerMojo : Unsupported major.minor version 51.0 pom.xml /ml-sj line 42 Maven Project Build Lifecycle Mapping Problem
错误2:Description Resource Path Location Type
CoreException: Could not get the value for parameter compilerId for plugin execution default-testCompile: TypeNotPresentException: Type org.apache.maven.plugin.compiler.TestCompilerMojo not present: UnsupportedClassVersionError: org/apache/maven/plugin/compiler/TestCompilerMojo : Unsupported major.minor version 51.0 pom.xml /ml-sj line 42 Maven Project Build Lifecycle Mapping Problem
错误3:
Description Resource Path Location Type
org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject, org.apache.maven.archiver.MavenArchiveConfiguration) pom.xml /ml-sj line 1 Maven Configuration Problem