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

          Posted on 2008-12-29 17:14 Robert Su 閱讀(299) 評論(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

          主站蜘蛛池模板: 武义县| 柳江县| 牟定县| 徐汇区| 张北县| 安顺市| 临朐县| 昂仁县| 即墨市| 柯坪县| 宁阳县| 大渡口区| 台中市| 汝南县| 凌海市| 梅河口市| 玉山县| 旬邑县| 甘泉县| 桑日县| 兰州市| 平乐县| 克什克腾旗| 江北区| 通化市| 专栏| 嘉义县| 合川市| 遂昌县| 油尖旺区| 新干县| 德格县| 建阳市| 莲花县| 承德县| 成都市| 宝鸡市| 铁岭县| 南乐县| 万荣县| 孝感市|