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.
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.
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:
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.
I figured it out - sorry to bother everyone.
Go to the jar in the Project Explorer, right click and Delete.
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.
What worked for me was, I was trying to delete the JARs from Build Path, which I accessed through 'Project Explorer' tab. But the JARs delete option is greyed out there, as per the original question.
So I tried the same from : 'Navigator' perspective (which is deprecated). When I went to my projects build path from here, I could see the delete option.