码迷,mamicode.com
首页 > 其他好文 > 详细

Maven项目常见问题:解决相互依赖

时间:2020-07-08 10:28:09      阅读:170      评论:0      收藏:0      [点我收藏+]

标签:splay   logging   color   reac   orm   ble   模块   OWIN   rac   

问题如下:

INFO] Scanning for projects... 
[ERROR] The projects in the reactor contain a cyclic reference: Edge between Ve rtex{label=org.kuuyee.sample:module-C:1.0-SNAPSHOT} and Vertex{label=org.ku uyee.sample:module-B:1.0-SNAPSHOT} introduces to cycle in the graph org.kuuyee .sample:module-B:1.0-SNAPSHOT --> org.kuuyee.sample:module-A:1.0-SNAPSHOT --> or g.kuuyee.sample:module-C:1.0-SNAPSHOT --> org.kuuyee.sample:module-B:1.0-SNAPSHO T -> [Help 1] 
[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/ProjectCycleException

解决思路:

检查各种module模块中的pom.xml引入的依赖包,有没有导致相互依赖的,造成循环依赖问题。

Maven项目常见问题:解决相互依赖

标签:splay   logging   color   reac   orm   ble   模块   OWIN   rac   

原文地址:https://www.cnblogs.com/code4app/p/13265333.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!