0
点赞
收藏
分享

微信扫一扫

Maven 报错:Process terminated

fbd4ffd0717b 2022-03-30 阅读 82
java后端

今天在整理一个老旧项目时,发生了maven错误
在这里插入图片描述
百度了一下没有解决问题
点击查看报错信息
在这里插入图片描述
发现这么一个提示

[ERROR] [ERROR] The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='com.zto:doraemon-interface:1.0-SNAPSHOT'}' and 'Vertex{label='com.zto:doraemon-service:1.0-SNAPSHOT'}' introduces to cycle in the graph com.zto:doraemon-service:1.0-SNAPSHOT --> com.zto:doraemon-interface:1.0-SNAPSHOT --> com.zto:doraemon-service:1.0-SNAPSHOT @ 
[ERROR] The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='com.zto:doraemon-interface:1.0-SNAPSHOT'}' and 'Vertex{label='com.zto:doraemon-service:1.0-SNAPSHOT'}' introduces to cycle in the graph com.zto:doraemon-service:1.0-SNAPSHOT --> com.zto:doraemon-interface:1.0-SNAPSHOT --> com.zto:doraemon-service:1.0-SNAPSHOT -> [Help 1]

也就是出现了循环依赖,项目中的interface和service互相依赖,导致报错,修改掉就好了

举报

相关推荐

0 条评论