简体   繁体   English

如何摆脱eclipse Referenced Libraries中的文件夹

[英]How to get rid of folder inside eclipse Referenced Libraries

I have one project in eclipse that has an extraneous folder in the list of referenced libraries that I can't get rid of, and is causing wrong libraries to be used. 我在eclipse中有一个项目,在引用的库列表中有一个我无法摆脱的无关文件夹,并导致使用错误的库。

项目文件夹

xtralibs is the folder where I keep all extra java libraries. xtralibs是我保留所有额外java库的文件夹。 But it shouldn't be part of the referenced library list. 但它不应该是引用库列表的一部分。 No idea why it is there. 不知道为什么会这样。 And I can't delete it. 我无法删除它。 It is only a problem on this one project. 这只是这个项目的一个问题。

Delete is grayed out, that folder does not show anywhere in the Java Build Path, tried cleaning the project, running Eclipse with -clean, still there. 删除显示为灰色,该文件夹未显示在Java Build Path中的任何位置,尝试清理项目,使用-clean运行Eclipse,仍然存在。 I also did a grep on both the project folder and my eclipse program folder and can't find a reference anywhere. 我也在项目文件夹和我的eclipse程序文件夹上做了一个grep,无法在任何地方找到引用。

Per request, below is a screenshot showing that the folder is NOT in the build path. 每个请求,下面是一个屏幕截图,显示该文件夹不在构建路径中。 在此输入图像描述

Any suggestions? 有什么建议么?

尝试从项目中删除.classpath文件并重新添加库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM