报错的可以看一下<!-- 关联关系映射 -->
<set name="employees">
<key column="dno"/>
<one-to-many class="com.muke.employee.domain.Employee"/>
</set>
里面的<set name="employees">错写成了employee
<set name="employees">
<key column="dno"/>
<one-to-many class="com.muke.employee.domain.Employee"/>
</set>
里面的<set name="employees">错写成了employee
2017-06-23
最新回答 / dop4
在action中登陆成功是否将当前用户存入actionActionContext.getContext().getSession().put("existEmployee", currentEmployee);这样就对了,之前的是属性不对应
2017-06-15
已采纳回答 / punk小调
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"> <property name="dataSource"> <ref bean="dataSource" /> </property> <property name="hibernateProperties"> <props> &...
2017-06-13