I was spec'ing org.mysql, when it should be com.mysql...
However, still no joy. Now I'm getting:

Cannot create JDBC driver of class 'com.mysql.jdbc.Driver' for connect URL
'jdbc:mysql://localhost:3306/cas_service_registry?autoReconnect=true'
java.lang.NoClassDefFoundError: Could not initialize class
com.mysql.jdbc.Util ^Iat
com.mysql.jdbc.NonRegisteringDriver.parseURL(NonRegisteringDriver.java:666)
^Iat
com.mysql.jdbc.NonRegisteringDriver.acceptsURL(NonRegisteringDriver.java:218)
^Iat java.sql.DriverManager.getDriver(DriverManager.java:253) ^Iat
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1143)
^Iat
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
^Iat
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47)
^Iat
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84)
^Iat org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
^Iat
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292

Ideas?

Thanks



On Tue, Sep 22, 2009 at 1:11 PM, Marvin Addison <[email protected]>wrote:

> > Now I'm getting "Cannot load JDBC driver class 'org.mysql.jdbc.Driver'",
> and
> > looking in the lib, there isn't a mysql jar.
>
> You should place the latest MySQL jar in $TOMCAT_HOME/lib for Tomcat
> 6.x or $TOMCAT_HOME/common/lib for Tomcat 5.x
>
> M
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to