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
Since you are running it in servlet
, you need to have the jar accessible by the servlet container. You either include the connector as part of your application war
or put it as part of the servlet container's extended library and datasource management stuff, if it has one. The second part is totally depend on the container that you have.