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 即可

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM