`

Eclipse Error: A cycle was detected in the build path

阅读更多
http://www.javaplex.com/blog/eclipse-error-cycle-was-detected-the-build-path/


http://blog.csdn.net/kcai678/article/details/4668993


We were just facing very tedious error  by eclipse “A cycle was detected in the build path” and it take some time what the problem was. Actually we

You can instruct the Eclipse to ignore this error. Follow the instructions at.
Preferences > Java > Compiler > Building > Build path problems > Circular dependencies

Adjust it from  “Error/Warning” to Warning and eclipse will stop giving this error.



解决Eclipse中Java工程间循环引用而报错的问题
如果我们的项目包含多个工程(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
分享到:
评论

相关推荐

    导入项目出现Java多个工程相互引用异常A cycle was detected in the build path of project的解决办法

    有时我们可能会遇到这样一个问题:当你导入一个包含多个工程的项目时,Eclipse或STS(Spring Tools Suite)会报出“一个循环被检测到在项目的构建路径中”(A cycle was detected in the build path of project)的...

    JNA方式调用dll报错:A fatal error has been detected by the Java Runtime Environment:

    标题中的“JNA方式调用dll报错:A fatal error has been detected by the Java Runtime Environment:”是一个典型的Java编程问题,涉及到Java Native Access (JNA) 和动态链接库(dll)的交互。JNA是Java平台的一个...

    ST-LINK驱动

    debug时候出现NO ST-LINK Detected的错误提示,下了很多 ST-LINK驱动都不好用,这款好用,下载后点击ST-LINK_USB_V2_1_Driver文件夹下的stlink_winusb_install.bat进行安装即可

    c++0x, c++11的解决办法 error: #error "Qt requires C++11 support

    error: #error "Qt requires C++11 support c++0x, c++11的解决办法 如果你是用makefile编译还好解决些,但是如果你是用CMake编译,你还得变成CMake的写法. 不过低层原理都一样,都是在g++上作文章. 我来告诉你makefile...

    git fatal detected dubious ownership in repository 的解决方法.rar

    开发案列优质学习资料资源工具与案列应用场景开发文档教程资料

    Error:scalac: missing or invalid dependency detected while loading class file ‘Tensor.class’.

    Error:scalac: missing or invalid dependency detected while loading class file 'Tensor.class'. Could not access term mllib in package org.apache.spark, because it (or its dependencies) are missing. ...

    BURNINTEST--硬件检测工具

    are in a 'clean' state when starting the USB tests. This was added due to reported USB data verification errors after scripted USB testing across multiple reboots. Release 5.3 build 1015 WIN32 ...

    git remote: warning: Large files detected.解决方案

    ### git remote: warning: Large files detected. 解决方案 在使用Git进行项目版本管理时,可能会遇到`git remote: warning: Large files detected.`这一警告。这种情况通常发生在尝试将大型文件(如图片、视频或者...

    Fluent中常见报错及解决办法

    5. **error:temperature divergence detected in AMG solver**: - 温度计算发散,可能是因为能量设置不合理或网格精度不足。关闭能量方程重新计算,检查能量相关设置,如果问题依然存在,则可能需要改进网格质量...

    php iconv() : Detected an illegal character in input string

    上线后报一堆这样的错:iconv() : Detected an illegal character in input string考虑到GB2312字符集比较小,换个大的吧,于是改成GBK:$str = iconv(‘UTF-8’, ‘GBK’, unescape(isset($_GET[‘str’])?...

    运行UG提示Fatal error detected unable to continue的解决方法

    在IT领域,尤其是CAD/CAM软件用户中,遇到“运行UG提示Fatal error detected unable to continue”的问题时,往往会感到困扰。这一错误信息通常出现在尝试启动Unigraphics(简称UG,现称为NX)软件时,意味着系统...

    ChromeDriver version 70.0.3538.97

    WebDriverException:unknown error: failed to change window state to maximized, current state is normal (Session info: chrome=71.0.3578.98) (Driver info: chromedriver=2.41.578706 (5f725d1b4f0a4acbf...

    Fluent常见问题解决方法

    在使用Fluent进行流体动力学模拟时,经常会遇到各种问题,尤其是对于初学者和进阶用户来说。本文将探讨一些常见的问题及其解决方案。 首先,关于"wall-shadow"的概念。"wall-shadow"并非用户手动定义,而是Fluent...

    解决卸载Python时报错问题:No Python 3.7 installation was detected

    不然就会出现这个问题:No Python 3.7 installation was detected 系统win10 x64环境。 版本Python 3.7.1 因为某些问题需要重新安装python(手痒测试),但是发现无论如何也卸载不成功,报错 0x80070643安装时发生...

    epson-rx8130ce芯片手册+linux下的驱动程序

    Installing the Driver To install the driver source...4. During the rebuild, make sure to include the 'Epson RX8130CE' option in the Kernel Configuration window under 'Device Drivers' -> 'Real Time Clock'

    PHP编译configure时常见错误的总结

    12. **错误:Configure: error: Please reinstall the libcurl distribution – easy.h should be in /include/curl/** 解决方法:在CentOS上,使用`yum install curl curl-devel`(适用于Redhat和Fedora);对于...

    glibc漏洞修复.rpm

    **glibc漏洞修复.rpm** 在IT领域,尤其是Linux操作系统中,`glibc`(GNU C Library)是一个至关重要的组件,它是Linux系统的核心部分之一,提供了许多C语言编程所需的函数库。glibc不仅支持C语言,还为其他编程语言...

    request-redirect-test:多次重定向测试时的内存泄漏警告

    error: [Error: Exceeded maxRedirects. Probably stuck in a redirect loop http://127.0.0.1:8681/8] > node req.js 9 (node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use ...

    ccs调试中报错

    1. 错误:`#error NO CHIPDEFINED` 解决方法:在构建选项中,编译器设置里添加 `-d"CHIP_5509"` 参数,指定使用的芯片型号。 2. 错误:`WARNING: PAGE BOUNDARY CROSSING DETECTED AT PROGRAM COUNTER 0x1797` 这...

Global site tag (gtag.js) - Google Analytics