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.
Advertisement
Answer
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.