老師您好,這個問題是什么原因???
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 屬性,你檢查一下有沒有寫對(配置),
2017-09-21
換jar包吧,我就是這么解決的!
2016-10-03
hi 怎么解決的呢
Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/core/annotation/AnnotatedElementUtils
?at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
2016-09-09
并不是。。。你這個肯定是前面代碼的問題,因為我就是代碼寫錯了然后抱的錯誤和你一樣。。,我的代碼錯誤是在創建service對象的時候大小寫定義的有問題,所以報了這個錯。。。。
2016-09-01
我也遇到這個問題了