为了账号安全,请及时绑定邮箱和手机立即绑定

继承之后无法使用

[INFO] Scanning for projects...

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for com.hongxing:hongxing-bege:0.0.1-SNAPSHOT: Could not find artifact com.hongxing:hongxing-parent:pom:0.0.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 16, column 10

 @ 

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]   

[ERROR]   The project com.hongxing:hongxing-bege:0.0.1-SNAPSHOT (C:\Users\Administrator\maven\hongxing-bege\pom.xml) has 1 error

[ERROR]     Non-resolvable parent POM for com.hongxing:hongxing-bege:0.0.1-SNAPSHOT: Could not find artifact com.hongxing:hongxing-parent:pom:0.0.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 16, 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

5837250d0001489705000167.jpg

5837250d00016e3205000162.jpg




正在回答

1 回答

首先是没有install 父类,其次是依赖的问题重新建了一个child继承就ok

4 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
项目管理利器——maven
  • 参与学习       173090    人
  • 解答问题       742    个

使用maven来构建和管理Java项目,从环境配置,到maven核心知识

进入课程

继承之后无法使用

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信