路径错误Maven:Non-resolvable parent POM: Failure to find错误

[ERROR]   The project dfjr.generic:dfjr-generic:1.0-SNAPSHOT (F:\workspace\DFJR-PERSONNEL\dfjr-generic\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact com.dfjr.generic:dfjr-generic-parent:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 12, column 13 -> [Help 2]

由提示可知是parent.relativePath出错。解决办法如下:


        com.dfjr.generic
        dfjr-generic-parent
        1.0-SNAPSHOT
        ../dfjr-generic-parent
    

由…/dfjr-generic-parent指定正确的父pom路径,默认为…/pom.xml
还有中解决方案,就是直接把删除即可

你可能感兴趣的:(异常处理,JAVA,springboot)