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

解决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

相关文章:

  • 2021-06-27
  • 2021-11-28
  • 2021-09-04
  • 2021-06-05
  • 2021-07-05
  • 2021-08-09
  • 2021-08-26
  • 2021-10-19
猜你喜欢
  • 2021-09-23
  • 2021-09-19
  • 2021-08-28
  • 2021-10-18
  • 2021-09-13
  • 2021-04-19
相关资源
相似解决方案