2016-09-30 77 views
0

我收到下面的錯誤..任何人都可以請幫忙。maven err - 錯誤的本地POM點數

[ERROR] [ERROR] Some problems were encountered while processing the POMs: 
[FATAL] Non-resolvable parent POM for com.timwe.unity.core:unity-core-subscription-manager-crm-web:1.0.14-SNAPSHOT: Could not find artifact com.timwe.unity.core:unity-core-subscription-manager-crm:pom:1.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 11 
@ 
[ERROR] The build could not read 1 project -> [Help 1] 
[ERROR] 
[ERROR] The project com.timwe.unity.core:unity-core-subscription-manager-crm-web:1.0.14-SNAPSHOT (D:\emomi\workspace\smSubscription\webapp-unity-celcom-subscription\pom.xml) has 1 error 
[ERROR]  Non-resolvable parent POM for com.timwe.unity.core:unity-core-subscription-manager-crm-web:1.0.14-SNAPSHOT: Could not find artifact com.timwe.unity.core:unity-core-subscription-manager-crm:pom:1.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 11 -> [Help 2] 

我得到這個,當我做maven乾淨。與犯錯

POM部分:

<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" 
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 

    <parent> 
    <groupId>com.timwe.unity.core</groupId> 
    <artifactId>unity-core-subscription-manager-crm</artifactId> 
    <version>1.0.0-SNAPSHOT</version> 
    <relativePath>../</relativePath> 
    </parent> 
+0

相對路徑後工作正常是錯誤的...你的項目結構如何? – ZaoTaoBao

回答

0

settings.sml缺少在C:\用戶\ Developer.m2

添加相同