Can't remove jar from Web App Library
Solution 1
A project's Web App Library is composed automatically by Eclipse from any JARs on the project path, <project-name>/WebContent/WEB-INF/lib
. JARs reach that location:
- after the project is created (of course, since the project file system begins to exist only then)
- by the user's hand.
So, you can edit the Web App library by adding / deleting jars under WEB-INF/lib
folder.
More details on Web App libraries can be found here.
Solution 2
I figured it out - sorry to bother everyone.
Go to the jar in the Project Explorer, right click and Delete.
Solution 3
After delete some libs, delete Webapp libs in Build Path then close and open Eclipse, add Webapp Libs in Build Path again. Worked for me.
AllieCat
Engineer. Violinist. Black belt. World of Warcraft shadow priest.
Updated on June 23, 2022Comments
-
AllieCat almost 2 years
How can I remove the jars in my Web App Library?
I manually added a couple jars to the web app library. My program is now pitching a fit so I clearly need to remove them.
However, when I go to the Build Path, the "Remove" is greyed out.
-
AllieCat almost 11 yearsWhen I click on Edit, I only have one option (my project) and then can only click Finish. When I do that, nothing changes.
-
Vikas V almost 11 years@AllieCat I have edited my answer with link to a guide on Web App libraries. That link might help you..
-
Jason Krs over 6 yearsThanks. It helped me
-
Drumnbass about 6 yearsthat delete button is also disabled.