老師您好,這個(gè)問(wèn)題是什么原因???
Error creating bean with name 'dataSource' defined in class path resource [applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'dirverClass' of bean class [com.mchange.v2.c3p0.ComboPooledDataSource]: Bean property 'dirverClass' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
2016-08-20
bean 的dataSource 的dirverClass 屬性,你檢查一下有沒(méi)有寫對(duì)(配置),