Eclipse 项目红色叹号:Build Path Problem

Description Resource Path Location Type
A cycle was detected in the build path of project ‘shgl-category-api‘. The cycle consists of projects {shgl-category-api, shgl-category-provider} shgl-category-api Build path Build Path Problem

 

项目出现红色叹号 有可能好几种原因:

先把eclipse转换到Markers视图,windows---->show view ---->markers ,查看具体错误信息。

 

1、项目右键   属性  java build path  点选library选项卡 更改jre system library为你本地的jre 或者jdk

2、多个项目项目循环引用,导致的,“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

3、the project cannot be built until its prerequisite问题.解决方法.

把项目 close一下.再open, project->clean就可以了

 

转自:http://blog.csdn.net/chenyulancn/article/details/44237641

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。