解决Eclipse中Java工程间循环引用而报错的问题
2010-07-18 17:12
751 查看
如果我们的项目包含多个工程(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。
The Solution of the Problem That the Java Proejcts Have the Cycle References in Eclipse
If our project contains multiple proejcts, and the cycle references among them, Eclipse will throw out following error message while compiling:
"A cycle was detected in the build path of project: XXX"
The solution is quite simple:
Eclipse Menu -> Window -> Preferences... -> Java -> Compiler -> Building -> Building path problems -> Circular dependencies -> Change it from "Error" to "Warning".
原文转自:http://yichen914.spaces.live.com/blog/cns!723590D920FAF62B!534.entry
“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。
The Solution of the Problem That the Java Proejcts Have the Cycle References in Eclipse
If our project contains multiple proejcts, and the cycle references among them, Eclipse will throw out following error message while compiling:
"A cycle was detected in the build path of project: XXX"
The solution is quite simple:
Eclipse Menu -> Window -> Preferences... -> Java -> Compiler -> Building -> Building path problems -> Circular dependencies -> Change it from "Error" to "Warning".
原文转自:http://yichen914.spaces.live.com/blog/cns!723590D920FAF62B!534.entry
相关文章推荐
- 解决Eclipse中Java工程间循环引用而报错的问题
- 解决Eclipse中Java工程间循环引用而报错的问题
- 如何解决Eclipse中Java工程间循环引用而报错的问题
- 解决Eclipse中Project循环引用而报错的问题
- 使用eclipse创建多文件java工程出现找不到或无法加载主类问题解决
- eclipse引用其他工程库文件遇到的问题解决
- 用JAXB转换XML和Java对象时的循环引用问题的解决方法
- [Java][]Maven]mvn eclipse:eclipse导入jar失败、直接导入工程的问题解决办法
- eclipse下面的工程识别不出java的基本类问题解决
- Eclipse环境下JBoss调试,解决引用的工程不被部署的问题
- 解决Eclipse+Tomcat修改java类自动重启,且报错的问题
- [Java][]Maven]mvn eclipse:eclipse导入jar失败、直接导入工程的问题解决办法
- Eclipse for JavaEE导入工程报错问题解决
- Eclipse中java工程中引用dll库的路径设置 && System.loadLibrary()调用Dll路径问题
- 【原创】eclipse的JavaEE web工程中存在WebContent目录如何导入MyEclipse问题的解决
- java eclipse工程有叹号解决步骤
- 如何解决Android在eclipse中项目同时使用viewpagerindicator,slidingmenu开源框架时项目报错的问题
- 【JAVA秒会技术之异常解决】解决Eclipse添加新server时无法选择Tomcat7的问题
- eclipse无法导入java.util.Arrays包的问题解决
- 利用Eclipse对MAT进行分析解决JAVA内存问题