解决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
但是这样只是解决了表面问题,出现这样的错误可能是你的底层模块引用了你的上层模块导致了项目的循环
转载http://blog.csdn.net/kcai678/article/details/4668993
分享到:
相关推荐
有时我们可能会遇到这样一个问题:当你导入一个包含多个工程的项目时,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:”是一个典型的Java编程问题,涉及到Java Native Access (JNA) 和动态链接库(dll)的交互。JNA是Java平台的一个...
开发案列优质学习资料资源工具与案列应用场景开发文档教程资料
if the test was run a couple of times (without closing BurnInTest). Release 5.3 build 1021 WIN32 release 5 June 2008 - 32-bit BurnInTest PRO 5.3.1020 would not start on Windows 2000. This has been ...
在编程过程中,尤其是在C语言和使用Visual C++(VC)编译器的环境中,"heap corruption detected after normal block"是一个常见的错误提示,它通常表明在程序执行时内存堆出现了损坏。这个错误通常与动态内存分配(如...
YUI 2 is a JavaScript and CSS library with more than 30 unique components including low-level DOM utilities and high-level user-interface widgets. Currently at version 2.9.0, YUI 2 is robust, proven, ...
在Linux系统中,CentOS 7使用XFS文件系统可能会遇到一种特定的错误:“Corruption of in-memory data detected”。这个错误通常表示系统检测到了内存中的数据损坏,这可能是因为不正常关机、硬件故障或者软件问题...
In this book, the application of the compensation technique and circuits to three different systems is proposed: a highprecision digital-to-analog converter, a SOI (silicon on insulator) 1T DRAM...
### git remote: warning: Large files detected. 解决方案 在使用Git进行项目版本管理时,可能会遇到`git remote: warning: Large files detected.`这一警告。这种情况通常发生在尝试将大型文件(如图片、视频或者...
在使用ChromeDriver之前,需要将其添加到系统环境变量PATH中,这样你就可以在命令行或者编程时直接调用它而无需指定完整路径。一旦设置好,你就可以在Python中使用Selenium库来控制Chrome浏览器: ```python from ...
不然就会出现这个问题:No Python 3.7 installation was detected 系统win10 x64环境。 版本Python 3.7.1 因为某些问题需要重新安装python(手痒测试),但是发现无论如何也卸载不成功,报错 0x80070643安装时发生...
It was detected that the topics of computer vision, control and robotics are imperative for the successful of mechatronics systems. This book includes several chapters which report successful study ...
- build.gradle (Project) 文件中,将 `jcenter()` 替换为阿里云的镜像源:`maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }` **六、创建模拟器** 1. 点击Android Studio右侧的AVD ...
An intent lock indicates that SQL Server wants to acquire a shared (S) lock or exclusive (X) lock on some of the resources lower down in the hierarchy. For example, a shared intent lock placed at the ...
Fixed a problem where the presence of the _OSI predefined control method within complex expressions could cause an internal compiler error. AcpiExec: Implemented full region support for multiple ...
3. **the use of axis boundary conditions is not appropriate for 2D/3D flow problem**: - 当使用轴对称边界条件时,如果模型不是轴对称的,会出现此错误。解决方法是在设置求解器时选择正确的模式,例如 ...
FIX: Inspector was not showing correctly when in the latest alpha/beta of Unity 2019.2+ FIX: Bug where Languages coudn't be enabled at runtime (thanks to bschug for submitting a fix) FIX: To reduce ...
In earlier revisions, the error status light was cleared after a VsSetWavelength() call failed, so the user did not see the light turn red to alert that an error had occurred. This has been fixed in ...
DLL: JTAG: When only having 1 TAP in the JTAG chain and its matches the one for the configured CPU core but the TAP-ID was unknown, connect did not work. Fixed. DLL: Linux: Delayed / slowed execution ...
This book provides a set of readings on the state-of-the-art and the state-of-the- practice of the Unified Modeling Language (UML) and the Unified Process (UP). UML is a language for specifying, ...