Non-resolvable parent POM for Could not find artifact and 'parent.relativePath' points at wrong local POM

前端 未结 9 1119
广开言路
广开言路 2021-02-05 03:58

I am new to maven.

I have one project which I try to build with the maven3.

When I run the command mvn -X clean install I got the error.

<         


        
9条回答
  •  我在风中等你
    2021-02-05 04:11

    In pom.xml file of the project,

    
    org.springframework.boot
    spring-boot-starter-parent
    X.X.X.RELEASE
     ../PROJECTNAME/pom.xml
    
    

    Pointing relativepath to the same MAVEN project POM file solved the issue for me.

提交回复
热议问题