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.
Select Project in Project Explorer and Press "Alt+Enter" then Go to Java Build path and select Libraries then select jar file finally click on Remove button. select jar in the Project tree-view and right click on it and select Build Path then in select the Remove from Build Path . You are done.
From the left navigation pane, select JARs from under Resource Browser. The Summary of JARs page is displayed. In the Options field of the JAR you want to delete, click the Delete icon.
To delete an existing class path variable: From the menu bar, select Window > Preferences. Expand the Java category in the left pane, and select Classpath Variables. Select the variable(s) you want to delete in the Defined class path variables list and click the Remove button.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With