Maven 报错:Process terminated

今天在整理一个老旧项目时,发生了maven错误
Maven 报错:Process terminated_第1张图片
百度了一下没有解决问题
点击查看报错信息
Maven 报错:Process terminated_第2张图片
发现这么一个提示

[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互相依赖,导致报错,修改掉就好了

你可能感兴趣的:(maven,问题收录)