2016-09-30 58 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

添加相同