程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> 更多編程語言 >> 編程綜合問答 >> bean-求大神幫我看下spring的問題

bean-求大神幫我看下spring的問題

編輯:編程綜合問答
求大神幫我看下spring的問題

嚴重: 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 'service' defined in class path resource [beans.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'service' of bean class [com.bjlz.action.LCsiveAction]: Bean property 'service' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1361)
省略號,
Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'service' of bean class [com.bjlz.action.LCsiveAction]: Bean property 'service' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
配置文件,
![![圖片說明](http://img.ask.csdn.net/upload/201505/25/1432523221_850763.png)圖片說明](http://img.ask.csdn.net/upload/201505/25/1432523215_711138.png)圖片說明

最佳回答:


謝謝各位了 。。我找到了是少個了JAR包 導致的。。。

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved