问题描述
Eclipse 告诉我:
Eclipse is telling me:
a cycle was detected in the build path of -project name-
,虽然项目的结构(由团队中的其他人创建)没有周期.
相同的项目部署在其他机器上(相同!)并且它没有给出错误.
, although the structure of the project (created by others in the team) does not have cycles.
The same project is deployed on other machines (the same!) and it doesn't give the error.
我需要在我的机器上工作,所以我需要解决这个问题.
它给了我 8 个不同项目的错误.
它给了我更多(10 个项目)的错误,但是清理和构建 10 次只是更改为 8 次!(代码中没有任何更改).
I need to work from my machine so I need to solve this.
It is giving me the error in 8 different projects.
It was giving me the error in more (10 projects) but with cleaning and building 10 times just changed to 8! (without any changes in the code).
我真的需要让这个工作和清洁和一遍又一遍的构建没有做任何事情.有什么提示吗?
I really need to get this working and cleaning and building over and over is not doing anything. Any tips?
(注意:这不是 java,这是 flex 所以我不能将错误更改为警告 :))
(note: this is not java, this is flex so i can't change the error to warning :))
非常感谢!
推荐答案
如果它在其他机器上有效,但在你自己的机器上无效,那一定是本地缓存"效果.
If it works on other machines but not your own, it must be a "local cache" effect.
您必须长期考虑现有库,这会导致本地错误,而其他工作站上不存在相同的文件.
You must have an existing library taken into account from a long time, which causes locally the error, while that same file is not present on the other workstations.
可以尝试在新的空目录上从头开始重新创建项目,看看问题是否仍然存在?
如果确实如此(并且仅如此),Eclipse 和 Flex 插件的确切版本可能会有所帮助.
Could try and recreate the projects from scratch, on a new empty directory, and see if the problem persist?
If it does (and only then), the exact version of Eclipse and Flex plugin could help.
这篇关于Eclipse 告诉我在构建路径中检测到一个循环,但事实并非如此!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!