错误:[INFO] Scanning for projects…
[ERROR] [ERROR] The projects in the reactor contain a cyclic reference: Edge between ‘Vertex{label=‘com.itheima:maven_day02_service:1.0-SNAPSHOT’}’ and ‘Vertex{label=‘com.itheima:maven_day02_dao:1.0-SNAPSHOT’}’ introduces to cycle in the graph com.itheima:maven_day02_dao:1.0-SNAPSHOT --> com.itheima:maven_day02_service:1.0-SNAPSHOT --> com.itheima:maven_day02_dao:1.0-SNAPSHOT @
[ERROR] The projects in the reactor contain a cyclic reference: Edge between ‘Vertex{label=‘com.itheima:maven_day02_service:1.0-SNAPSHOT’}’ and ‘Vertex{label=‘com.itheima:maven_day02_dao:1.0-SNAPSHOT’}’ introduces to cycle in the graph com.itheima:maven_day02_dao:1.0-SNAPSHOT --> com.itheima:maven_day02_service:1.0-SNAPSHOT --> com.itheima:maven_day02_dao:1.0-SNAPSHOT -> [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
这个问题原因是出现了循环依赖问题,解决方法从web.pox文件点击各个子工程的依赖,包括父工程的依赖。一个个检查看有没有错的
我的
我的是在父工程出现了service依赖。引以为戒