no setter found for property(spring xml文件property标签中)错误的解决方法
来源:互联网 发布:雷盾网络验证 编辑:程序博客网 时间:2024/06/08 10:45
如下:
<bean id="checkFinanceAction" class="action.checkFinanceAction"scope="prototype"><property name="cfs"><ref bean="checkFinanceService" ></ref></property></bean>
在property name=”cfs”处会提示no setter found for property出错。
解决方法:
在该bean指向的文件中(如本文中的"action.checkFinanceAction",class处指明)定义相关的变量,同时,一定要定义好该属性的set方法(一般get、set方法一并定义好)。这样就可解决。
0 0
- no setter found for property(spring xml文件property标签中)错误的解决方法
- No setter found for property 'sessionFactoroy'(applicationcontext.xml)
- No setter found for property 'sessionFactory' in class错误
- No setter found for property 问题 解决办法
- No setter found for property 'cronExpression'
- 在applicationContext中错误No setter found for property 'majorDAO' in class 'com.jygzxt.service.major.maj
- No setter found for property 'mapperLocation' in class 'org.mybatis.spring.SqlSessionFactoryBean' [c
- No setter found for property 'dwraccess ' in class
- SSH问题,No setter found for property 'logindao' in
- No setter found for property 'cronExpression' 找不到cronExpression
- Setter not found for property class
- Facelets: Setter not found for property class
- Spring Data JPA: No property foo found for type Bar
- Spring Data JPA - “No Property Found for Type” Exception
- Spring Data JPA: No property name found for type ×××
- No setter found for property 'packagesToScan' of class 'org.springframework.orm.hibernate3.annotatio
- No setter found for property 'sessionFactory' in class 'com.ncs.dao.NewsTypeDAO'
- No setter found for property 'adService' in class 'com.shop.action.AdAction'
- robotframework中reuturn value的使用
- 最新Android ADT, SDK, SDK_tool等官方下载
- Bone Collector - HDU 2602 01背包
- 迭代器配接器详解
- CCControlSwitch学习笔记
- no setter found for property(spring xml文件property标签中)错误的解决方法
- UVA 424 - Integer Inquiry
- hdu1250高精度
- usaco3.1.5形成的区域
- android:ellipsize实现跑马灯效果总结
- IOS研究之UITabBarController隐藏tabBar以及addChildViewController
- 通过设置CSS position 属性来固定层的位置
- Android Camera (三)通过Camera API拍照
- 16大跨平台游戏引擎