MAVEN learning (seven) - maven error and Solutions

1、Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project chapter6: Fatal error compiling: 无效的标记: -parameters

Pom.xml may be dependent jar package and the compiled version is not compatible with jdk, jdk modified version of Eclipse, modify workSpace and engineering BuildPath of jdk.

If you use maven command, you need to modify environment variables jdk version.

2, pom.xml 文件 报错 "org.apache.maven.archiver.MavenArchiver.getManifest (org.apache.maven.project.MavenProject, org.apache.maven.archiver.MavenArchiveConfiguration)"

In fact, the error does not affect the project, you want to get rid of the error, refer to online solutions, to install the plug-in, tried several times without success.

According to the error message, see maven compiled version does not match with the JDK version, originally when I created maven specifies a version, so that did not use the default versions.

But I do not want to change my maven version will eventually pom.xml file specified mvn plug-in version of the configuration removed.

 

Guess you like

Origin www.cnblogs.com/gllegolas/p/11613237.html