Eclipse问题:项目引用本身 [英] Eclipse problem: project references itself
问题描述
Project'sdx.client'不能引用本身
如果我从 .classpath
:
< classpathentry kind =conpath =org.eclipse.jst.j2ee.internal.web .container/>
我的项目再次编译。从谷歌搜索,我相信这是一个WTP元素,但我并不确定它是做什么,为什么它认为它包含对包含它的项目的反身引用。
更新
我还没有解决问题,但是我通过删除项目并从svn再次检查出来,确实使问题消失了。所以它看起来像一个bug,但我不知道在哪里报告,或者如何提出决策程序来确定何时修复。
今年早些时候在dev-eclipse中有一个讨论:
http://dev.eclipse.org/newslists/news.eclipse.webtools/msg18400.html
这表明这可能是一个错误。
I have small project consisting of one maven project and two maven modules. One of the modules is a webapp, and I'm using WTP to run all my web applications. Everything has been fine, until today when when the webapp started refusing to compile, citing:
Project 'sdx.client' cannot reference itself
If I remove the following line from the .classpath
:
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
my project compiles again. From googling, I believe this is a WTP element, but I'm not really sure what it does and why it believes that it contains a reflexive reference to the project containing it. Suggestions for where to look to track down the source of the problem would be very welcome.
Update
I haven't solved the problem, but I did make the symptoms go away by deleting the project and checking it out again from svn. So it looks like a bug somewhere, but I'm not sure where to report it or how to propose a decision procedure to determine when it's fixed.
There is a discussion earlier this year in dev-eclipse: http://dev.eclipse.org/newslists/news.eclipse.webtools/msg18400.html which suggests this may be a bug.
这篇关于Eclipse问题:项目引用本身的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!