A cycle was detected in the build path of project
2013-07-09 09:03
447 查看
解决Eclipse中Java工程间循环引用而报错的问题
如果我们的项目包含多个工程(project),而它们之间又是循环引用的关系,那么Eclipse在编译时会抛出如下一个错误信息:
“A cycle was detected in the build path of project: XXX”
解决方法非常简单:
Eclipse Menu -> Window -> Preferences... -> Java -> Compiler -> Building -> Building path problems -> Circular dependencies -> 将Error改成Warning
这样,项目可以照常运行了。
如果我们的项目包含多个工程(project),而它们之间又是循环引用的关系,那么Eclipse在编译时会抛出如下一个错误信息:
“A cycle was detected in the build path of project: XXX”
解决方法非常简单:
Eclipse Menu -> Window -> Preferences... -> Java -> Compiler -> Building -> Building path problems -> Circular dependencies -> 将Error改成Warning
这样,项目可以照常运行了。
相关文章推荐
- A cycle was detected in the build path of project 'core'. The cycle consists of projects {core, sms}
- A cycle was detected in the build path of project
- A cycle was detected in the build path of project
- Eclipse:A cycle was detected in the build path of project ‘XXX’
- A cycle was detected in the build path of project Build path Build Path Problem(Eclipse)
- A cycle was detected in the build path of project
- [转载]A cycle was detected in the build path of project
- 导入项目出现a cycle was detected in the build path of project问题解决
- 项目文件夹出现红色感叹号:A cycle was detected in the build path of project
- A cycle was detected in the build path of project
- Eclipse问题 A cycle was detected in the build path of project: XXX
- A cycle was detected in the build path of project
- A cycle was detected in the build path of project
- A cycle was detected in the build path of project 感叹号
- Eclipse/STS 异常解决:A cycle was detected in the build path of project XXX
- A cycle was detected in the build path of project
- A cycle was detected in the build path of project
- 【转】A cycle was detected in the build path of project:
- A cycle was detected in the build path of project
- Eclipse Error:A cycle was detected in the build path of project