Bean property 'driverClass' is not writable or has an invalid setter method
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?
2016-11-12
檢查一下你的連接池,是ComboPooledDataSource不是JndiRefForwardingDataSource
在檢查一下driverClass的拼寫是否正確