maven多模块之间的依赖问题

xiaoge666 2018-05-09 03:11:20
自己研究的多模块,求大神帮忙看一下这改怎么解决? ? ?
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Child module E:\MyEclipse 2017-Workspaces\system-parent\system-web of E:\MyEclipse 2017-Workspaces\system-parent\pom.xml does not exist @
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.lxx:system-parent:0.0.1-SNAPSHOT (E:\MyEclipse 2017-Workspaces\system-parent\pom.xml) has 1 error
[ERROR] Child module E:\MyEclipse 2017-Workspaces\system-parent\system-web of E:\MyEclipse 2017-Workspaces\system-parent\pom.xml does not exist
[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
...全文
2374 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
xiaoge666 2018-05-09
  • 打赏
  • 举报
回复
右键父类项目,Run as--->Maven install 执行的
maradona1984 2018-05-09
  • 打赏
  • 举报
回复
你在web工程里执行的命令? parent有没有定义modules
xiaoge666 2018-05-09
  • 打赏
  • 举报
回复
xiaoge666 2018-05-09
  • 打赏
  • 举报
回复
Coder_D 2018-05-09
  • 打赏
  • 举报
回复
maven项目结构也放上来,看错误信息就是子模块的pom.xml没有找到

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧