I found two properties that were "old":
user = username
driverClass = driverClassName

Now I'm getting "Cannot load JDBC driver class 'org.mysql.jdbc.Driver'", and
looking in the lib, there isn't a mysql jar.

Should the be?

Should I use the latest from MySQL?

Thanks,
Andrew

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

> > but upon startup I'm
> > getting a lot of errors (which can be seen at http://pastebin.ca/1575497
> ),
>
> Here is the root cause of your problem:
>
> Sep 22 11:51:57 hermes jsvc.exec[30809]:
> pringframework.beans.NotWritablePropertyException: Invalid property
> 'driverClass' of bean class [org.apache.commons.dbcp.BasicDataSource]:
> Bean property 'driverClass' is not writable or has an invalid setter
> method. Does the parameter type of the setter match the return type of
> the getter? ^Iat
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)
> at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
>
> You might try "driverClassName" if you're using a newer version of
> commons-dbcp; see
>
> http://commons.apache.org/dbcp/apidocs/org/apache/commons/dbcp/BasicDataSource.html
> for properties.
>
> 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