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 <salgari2004 hotmail.com> 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 : gehel amessage.ch
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.
com/
* http://rwandatech.wo
rdpress.com/
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe maven.apache.org
For additional commands, e-mail: users-help maven.apache.org
|