struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Rayls <>
Subject RE: ClassNotFoundException:
Date Wed, 30 Apr 2003 19:26:24 GMT
I believe you should have it under TOMCAT-DIR/webapps/MyWebApp/WEB-INF/lib.


-----Original Message-----
From: Siv Oma Rogdar []
Sent: Saturday, April 05, 2003 3:23 PM
Subject: ClassNotFoundException:

I'm trying out the Struts framework and trying to figure out how to connect
to a database, but I can't get it to work...I get the exception:

javax.servlet.ServletException: Exception initializing application data
source org.apache.struts.action.DATA_SOURCE

and root cause: java.sql.SQLException: open:

when I try to connect to mysql in an Action class.
I have defined the datasource in struts-config:

   <set-property property ="driverClass"
       value = "" />
   <set-property property ="url"
    value = "jdbc:mysql://localhost/MWCF" />

I have put the under both TOMCAT-DIR/common/lib and

Can anyone see what I'm doing wrong?

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message