myibatis 3.2 连mysql的时候报错!求大神帮忙解决!

org.apache.ibatis.exceptions.PersistenceException:###ErrorbuildingSqlSession.###Theer... org.apache.ibatis.exceptions.PersistenceException:
### Error building SqlSession.
### The error may exist in com/test/conf/TUser.xml
### The error occurred while processing mapper_resultMap[TUser]
### Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.RuntimeException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'TUser'. Cause: java.lang.ClassNotFoundException: Cannot find class: TUser
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.RuntimeException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'TUser'. Cause: java.lang.ClassNotFoundException: Cannot find class: TUser
Caused by: java.lang.RuntimeException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'TUser'. Cause: java.lang.ClassNotFoundException: Cannot find class: TUser
Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'TUser'. Cause: java.lang.ClassNotFoundException: Cannot find class: TUser
Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'TUser'. Cause: java.lang.ClassNotFoundException: Cannot find class: TUser
Caused by: java.lang.ClassNotFoundException: Cannot find class: TUser
at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:188)
at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:87)
展开
 我来答
疏狂山人
2013-03-08 · TA获得超过1940个赞
知道小有建树答主
回答量:395
采纳率:100%
帮助的人:219万
展开全部
resultType="com.test.bean.TUser"
或者
resultMap="TUser"
追问
不是你说的问题,是update和select节点配置错了导致找不到TUser类。parameterType="com.test.bean.TUser"
网易云信
2023-12-06 广告
UIkit是一套轻量级、模块化且易于使用的开源UI组件库,由YOOtheme团队开发。它提供了丰富的界面元素,包括按钮、表单、表格、对话框、滑块、下拉菜单、选项卡等等,适用于各种类型的网站和应用程序。UIkit还支持响应式设计,可以根据不同... 点击进入详情页
本回答由网易云信提供
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式