Caused by: org.springframework.beans.NotWritablePropertyException:
Invalid property ' driverClass' of bean class [com.mchange.v2.c3p0.ComboPooledDataSource]: Bean property ' driverClass' is not writable or has an invalid setter method. Did you mean 'driverClass'?
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1060)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:918)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:82)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:62)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1489)
... 13 moreSpring配置文件如下:DAO文件如下:说的什么 Invalid property ' driverClass' of bean class [com.mchange.v2.c3p0.ComboPooledDataSource]: Bean property ' driverClass' is not writable or has an invalid setter method. Did you mean 'driverClass'?我不都已经serJdbcTemplate了吗
添加回答
举报
0/150
提交
取消