Eclipse/STS 异常解决:A cycle was detected in the build path of project XXX
2017-03-16 19:00
786 查看
今天,遇到了一个特殊的问题 :A cycle was detected in the build path of project XXX ,大概意思是 "在项目的构建路径中检测到一个循环" ,就是说maven的引用循环了
直接导致了我项目的编译失败(未把java文件编译)。经一番查找资料,终于KO了这个问题,现在分享下方案:
1、Eclipse/STS -> Window -> Preferences... -> Java -> Compiler -> Building -> Building path problems -> Circular dependencies -> 将Error改成Warning
2、或者查看工程之间是否真的需要循环引用,不需要的话去掉。
然后重新对项目进行clean一下,项目编译成功
直接导致了我项目的编译失败(未把java文件编译)。经一番查找资料,终于KO了这个问题,现在分享下方案:
1、Eclipse/STS -> Window -> Preferences... -> Java -> Compiler -> Building -> Building path problems -> Circular dependencies -> 将Error改成Warning
2、或者查看工程之间是否真的需要循环引用,不需要的话去掉。
然后重新对项目进行clean一下,项目编译成功
相关文章推荐
- Eclipse:A cycle was detected in the build path of project ‘XXX’
- 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)
- Eclipse Error: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
- 解决 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
- java包名前面有个红色的大叹号(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
- 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