How to remove org.apache.maven.plugin.jar.JarMojo error from pom editor

前端 未结 3 776
孤街浪徒
孤街浪徒 2021-01-18 08:45

I am using Spring Tool Suite 3.1.0.RELEASE and the pom.xml file in every project that I create has a single error entitled \"org.apache.maven.plugin.jar.JarMojo\". No furthe

3条回答
  •  深忆病人
    2021-01-18 09:34

    We faced the same issue with Eclipse Java EE IDE for Web Developers (Juno Service Release 2), POM.xml simply has this "org.apache.maven.plugin.jar.JarMojo" error as shown in the above diagram.

    This seems a version issue with newer Maven. Finally we install an older C:\apache-maven-3.0.5

    Then inside Eclipse -> Windows -> Preference -> search "Maven" -> Installations, add the External C:\apache-maven-3.0.5

    reference to external Maven 3.0.5

    Then go Project -> Clean and right click on existing proect -> Maven -> Update Projects and maybe restart EClipse.

    The error status will disappear.

提交回复
热议问题