Did you change the dependency scope from runtime (default) to provided ?
It is quite usual not to package JDBC jars into the WAR file, but to
have them deployed in the application server. For example, in Tomcat,
you'll have them in $CATALINA_HOME/common/lib.
Good luck
Guillaume
On 06/11/2007, Roses Roses [EMAIL PROTECTED] wrote:
I've worked one month in a project which acces to a MySQL Database, and it
was working to yesterday. Now, when I generate the WAR file and execute it in
Tomcat, I have the sequent error:
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
--
Jabber : [EMAIL PROTECTED]
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.com/
* http://rwandatech.wordpress.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]