标签:stat use hda 类型 div lan gen bsp size
源代码:
<select id="selectAll" resultType="User">
select user_id uid,user_name username,user_password password,user_gender gender, user_birthday birthday, user_status status from users
</select>
正确代码:
<select id="selectAll" resultType="com.bj186.crm.entity.User">
select user_id uid,user_name username,user_password password,user_gender gender, user_birthday birthday, user_status status from users
</select>
原因分析: 这个问题的原因是在使用resultType的时候, 没有正确的指定返回的类型
Caused by: java.lang.ClassNotFoundException: Cannot find class: User
标签:stat use hda 类型 div lan gen bsp size
原文地址:https://www.cnblogs.com/zjulanjian/p/10968608.html