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

前端 未结 3 807
孤街浪徒
孤街浪徒 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:23

    Fixed. I downloaded Maven 3.0.5 separately and extracted to C:\springsource\apache-maven-3.0.5. (STS was using Maven 3.0.3) Then in STS went to Windows->Preferences from the menu, searched for "installations" to find the Maven installations page. Added a new installation by pointing to the folder above. Applied. Then right clicked on existing project and chose Maven->Update Project. Error gone.

    All new projects also don't have the error anymore. Win.

提交回复
热议问题