首页 > 系统服务 > 详细

Eclipse 项目红色叹号:Build Path Problem

时间:2015-03-24 22:54:37      阅读:9305      评论:0      收藏:0      [点我收藏+]

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

Eclipse 项目红色叹号:Build Path Problem

原文:http://www.cnblogs.com/gmq-sh/p/4364183.html

(5)
(2)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!