Error creating bean with name 'CommonDaoImpl' defined in file [D:\eclipse\workspace\EquipmentShareSys\WebRoot\WEB-INF\spring-config.xml]: Error setting property values; //nested exception is org.springframework.beans.PropertyAccessExceptionsException:
解决方案 »
- 调查一下,你使用的第一个数据库是什么?Access也算哦.
- 程序如何封装bean?
- hibernate 3.2如何使用dao呢?怎么多了个ID,呢能够给个具体的例子么?
- 奇怪~webwork中model-driven模式的奇怪现象
- http如何传输图片
- CMP的问题 高手进
- 紧急求助action如何获取session
- 我是初学者,向大家请教个问题,可能很简单但我不会!!
- 我看的都是英文书,昨天拿到了一本汉语的j2ee编程指南,wrox的,我发觉我看根本不习惯汉语的书籍。所以我认为:
- mui请求java后台问题
- 如何将C/S(MDB+SLSB)转换成WebService
- Document中加入节点的问题
PropertyAccessExceptionsException (1 errors)
配置文件怎么写的?
相关代码。
我遇到类似的问题是:
<bean id="xxx1Service" class="XXXX.xx.xx.xx.xxx1ServiceImpl">
<property name="yyy1Proc">
<ref bean="orderSearchProc"/>
</property>结果是XXXX.xx.xx.xx.xxx1ServiceImpl中的
setyyy1Proc() method 不一致.
你找下某个类中的SET方法吧.
我遇到类似的问题是:
<bean id="xxx1Service" class="XXXX.xx.xx.xx.xxx1ServiceImpl">
<property name="yyy1Proc">
<ref bean="yyy1Proc"/>
</property>结果是XXXX.xx.xx.xx.xxx1ServiceImpl中的
setyyy1Proc() method 不一致.
你找下某个类中的SET方法吧.