gcgc
2016-11-12 11:13
Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'driverClass' of bean class [com.mchange.v2.c3p0.JndiRefForwardingDataSource]: 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?
检查一下你的连接池,是ComboPooledDataSource不是JndiRefForwardingDataSource
在检查一下driverClass的拼写是否正确
Spring事务管理
87318 学习 · 197 问题
相似问题
回答 2