热门

最新

红包

立Flag

投票

同城

我的

发布
m0_61732393
五岁i
4 年前
truem0_61732393

配置mybatis后,启动,发现抛出如下异常:
Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'uaMap'. Cause: java.lang.ClassNotFoundException: Cannot find class: uaMap

原因:将resultMap写成了resultType,Type对应的是对象类,所以抛出ClassNotFoundException的异常,mybatis的结果是存放在resultMap中的。

<select id="find" resultMap="uaMap">
select * from user u,account a where u.aid=a.aid
<select>

CSDN App 扫码分享
分享
评论
点赞
打赏
  • 复制链接
  • 举报
下一条:
easyx如何设置新创建的窗口信息?
立即登录