hi jim!

did you add struts-legacy.jar in WEB-INF/lib ?

but in 1.2 its not more supported (GenericDataSource)

look here:
http://jakarta.apache.org/struts/faqs/database.html
(The Struts DataSource Manager)

then you need pool.jar and 
dbcp.jar

from the corresponding commons-projects
- http://jakarta.apache.org/commons/pool/
- http://jakarta.apache.org/commons/dbcp/


greetings 

matthias

-----Original Message-----
From: Jim Anderson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 28, 2004 6:14 PM
To: Struts Users Mailing List
Subject: REPOST: newbie datasource config problems


(The original msg didn't seem to make it to the list.)

I'm trying to configure my Struts 1.1 app (Tomcat 4) for MySQL access 
and getting nothing but grief. Currently, I'm showing the following 
error in the log file:

        java.lang.NoClassDefFoundError: 
org/apache/struts/legacy/GenericDataSource

Could someone please send me samples of what web.xml and 
struts-config.xml should look like when properly configured?

Thanks very much,

jim





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to