<bean id="awarrangeclassDao" class="jy.arrangework.dao.impl.ArrangeClassDAOImpl">
<property name="sessionFactory" ref="sessionFactory"></property>
<property name="tiDao" ref="awteacherinfoDao"></property>
<property name="rDao" ref="awrecoDao"></property>
</bean>
其中 <property name="rDao" ref="awrecoDao"></property>报错
No setter found for property 'rDao' in class 'jy.arrangework.dao.impl.ArrangeClassDAOImpl'
仔细检查了ArrangeClassDAOImpl中的确有rDao的setter方法,名字也对
后来将rDao改成recoDao,当然ArrangeClassDAOImpl中也做了相应的改变,就不报错了
原因未知
<property name="sessionFactory" ref="sessionFactory"></property>
<property name="tiDao" ref="awteacherinfoDao"></property>
<property name="rDao" ref="awrecoDao"></property>
</bean>
其中 <property name="rDao" ref="awrecoDao"></property>报错
No setter found for property 'rDao' in class 'jy.arrangework.dao.impl.ArrangeClassDAOImpl'
仔细检查了ArrangeClassDAOImpl中的确有rDao的setter方法,名字也对
后来将rDao改成recoDao,当然ArrangeClassDAOImpl中也做了相应的改变,就不报错了
原因未知