UnresolvableModelException

来源:互联网 发布:sketch软件 编辑:程序博客网 时间:2024/06/14 10:03
[INFO] Scanning for projects...[ERROR] The build could not read 1 project -> [Help 1][ERROR]   [ERROR]   The project com.iflytek.ossp:ossp-resserver-service:1.0.0-SNAPSHOT (C:\Users\moon\Desktop\ossp-resservice-maven\ossp-resserver-service\pom.xml) has 1 error[ERROR]     Non-resolvable parent POM: Could not find artifact com.iflytek.ossp:ossp-resserver-all:pom:1.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 11, column 10 -> [Help 2][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

<parent><groupId>com.hundsun.jresplus</groupId><artifactId>am</artifactId><version>1.0.0</version></parent>

可以尝试加入<relativePath>

<parent>
<groupId>com.hundsun.jresplus</groupId>
<artifactId>am</artifactId>
<version>1.0.0</version>

<relativePath>../am/pom.xml</relativePath>
</parent>


原创粉丝点击