依賴注入~~同一個錯誤犯兩遍就是煞筆

          Posted on 2008-12-29 17:14 Robert Su 閱讀(296) 評論(0)  編輯  收藏 所屬分類: Java
          Context initialization failed
          org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'RssService' defined in ServletContext resource
           [/WEB-INF/vbm_dao.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException:
           Invalid property 'rssDao' of bean class [gov.ict.mcg.vbm.services.impl.RssServiceImpl]: Bean property 'rssDao'
           is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
          Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'rssDao' of bean class
          [gov.ict.mcg.vbm.services.impl.RssServiceImpl]: Bean property 'rssDao' 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.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:793)


          原因:
          RssServiceImpl類中忘記添加dao的get set方法~~~

          posts - 103, comments - 104, trackbacks - 0, articles - 5

          Copyright © Robert Su

          主站蜘蛛池模板: 肥东县| 寿光市| 玉山县| 嘉义市| 晋江市| 孟津县| 濮阳县| 虞城县| 青岛市| 扶余县| 视频| 中宁县| 南丰县| 定兴县| 南岸区| 齐齐哈尔市| 招远市| 白玉县| 交口县| 玛多县| 潞城市| 二连浩特市| 开阳县| 横山县| 库尔勒市| 蚌埠市| 长岛县| 翁源县| 淮滨县| 崇左市| 韶关市| 上高县| 永城市| 余干县| 当涂县| 财经| 龙门县| 绥滨县| 平乡县| 来凤县| 呼伦贝尔市|