您的位置:首页 > 产品设计 > UI/UE

项目文件夹出现红色感叹号:A cycle was detected in the build path of project

2018-03-03 14:07 696 查看


解决Eclipse中Java工程间循环引用而报错的问题 

如果我们的项目包含多个工程(project),而它们之间又是循环引用的关系,那么Eclipse在编译时会抛出
如下一个错误信息: 
“Description Resource Path Location Type: A cycle was detected in the build path of project...” 
解决方法: 
如上图所示:Eclipse Menu -> Window -> Preferences... -> Java -> Compiler -> Building -> Building path problems -> Circular dependencies -> 将Error改成Warning
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐