There is a VERY similar question to mine but in my case I don\'t have any duplicate jars in my build path, so the solution does not work for me. I\'ve searched google for a
Ok, after had the same issue and after reading some answers here and other places. it seems that putting external lib into WEB-INF/lib is not that good idea as it pollute webapp/JRE libs with server-specific libraries - for more information check this answer"
Another solution that i do NOT recommend is: to copy it into tomcat/lib folder. although this may work, it will be hard to manage dependency for a shared(git for example) project.
Create vendor folder. put there all your external lib. then, map this folder as dependency to your project. in eclipse you need to
build path
Project Properties -> Java build pathLibraries -> add external lib or any other solution to add your files/folderdeployment Assembly (reference)
Project Properties -> Deployment AssemblyAdd -> Java Build Path EntriesUse maven (or any alternative) to manage project dependency