> Date: Mon, 12 Aug 2013 14:00:12 +0200 > From: ognjen.d.blagoje...@gmail.com > To: users@tomcat.apache.org > Subject: Re: Upgrade to Tomcat 7 Issues > > Seema, > > On 12.8.2013 13:09, Seema Patel wrote: > > org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver > > class 'com.mysql.jdbc.Driver' > ... > > Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver > > You are doing fine. You correctly removed all the jar files as Chuck > suggested. Now you need to add them one by one EITHER to Tomcat lib > folder or webapp WEB-INF/lib folder. > > Since your configuration implies that Tomcat will be managing your DB > connection pool, add mysql-connector jar to Tomcat lib folder, and try > to restart Tomcat. > > -Ognjen > >
Thanks for the advise. I have now fixed the issue and it is working. I added the mysql-connector-java-5.0.8-bin to my project's lib directory, which has put it into WEB-INF/lib directory when built and deployed. Thanks to all that have helped me with this, its appreciated. Seema > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >