Eclipse问题:项目引用本身 [英] Eclipse problem: project references itself

查看:1210
本文介绍了Eclipse问题:项目引用本身的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个由一个maven项目和两个maven模块组成的小项目。其中一个模块是webapp,我正在使用WTP来运行我所有的Web应用程序。一切都很好,直到今天,当webapp开始拒绝编译时,引用:

  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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆