Fred Andrews
Fred Andrews

Reputation: 668

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.

Project folder

xtralibs is the folder where I keep all extra java libraries. 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. I also did a grep on both the project folder and my eclipse program folder and can't find a reference anywhere.

Per request, below is a screenshot showing that the folder is NOT in the build path. enter image description here

Any suggestions?

Upvotes: 3

Views: 776

Answers (1)

yannick1976
yannick1976

Reputation: 11565

Try removing the .classpath file from your project and re-adding your libraries.

Upvotes: 1

Related Questions