More detail for the above answers: Assuming you are using eclipse, it's not enough to remove the extraneous files from the .../WEB-INF/lib directory. If you make changes to your project, eclipse will redeploy the original libraries (jar files). To remove them from your build path in eclipse so they don't get redeployed, go to Window >> Preferences >> Java >> Build Path >> User Libraries, and highlight and remove the unwanted jars. (And of course remove from WEB-INF/lib if applicable).