A cycle was detected in the build path of project ‘x’ . The cycle consists of projects {x,y} Build Path Problem

环境:eclipse,jdk 1.8.2  maven 

 

 

从svn 检出Maven 项目 

好多项目莫名有感叹号,然后看gg 一下,好多说build path 有问题,检查了build path 发现没有有感叹号的地方,也没有 missing的jar包

不得要领。

 

然后看eclipse markers 窗口 有好多错误。

其中多的就是 

 

 A cycle was detected in the build path of project ‘x’ . The cycle consists of projects {x,y}  Build Path Problem

 

 

 

网上查了一下 ,

https://stackoverflow.com/questions/23546925/a-cycle-was-detected-in-the-build-path-of-project-eclipse

 

里面有提供解决方案。

 

Preferences > Java > Compiler > Building > Build path problems > Circular dependencies  将值由error 改为warning 即可

 

posted @ 2017-11-23 15:16  tushi  阅读(1187)  评论(0编辑  收藏  举报