新人提问 maven在install时一直报如下错误

ly4770852 2018-04-12 04:46:53
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Child module E:\workspace\parent\babasport of E:\workspace\parent\pom.xml does not exist @
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project cn.itcast.babasport:parent:0.0.1-SNAPSHOT (E:\workspace\parent\pom.xml) has 1 error
[ERROR] Child module E:\workspace\parent\babasport of E:\workspace\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

用的是eclipse自带的maven3.3.3 看着教程做的

pom.xml配置如下
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cn.itcast.babasport</groupId>
<artifactId>parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>babasport-console</artifactId>
<packaging>war</packaging>

<!-- babasport-interface -->
<dependencies>
<dependency>
<groupId>cn.itcast.babasport</groupId>
<artifactId>babasport-interface</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
...全文
892 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
tianfang 2018-04-13
  • 打赏
  • 举报
回复
文件不存在 Child module E:\workspace\parent\babasport of E:\workspace\parent\pom.xml does not exist @ @ 文件检查一下

50,545

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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