IDEA ,SSM框架 No typehandler found for property roles

在这里插入图片描述
核心错误代码:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘userService’: Unsatisfied dependency expressed through field ‘userDao’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘IUserDao’ defined in URL [jar:file:/C:/Users/FC/.m2/repository/com/itheima/heima_ssm/heima_ssm_dao/1.0-SNAPSHOT/heima_ssm_dao-1.0-SNAPSHOT.jar!/com/itheima/ssm/dao/IUserDao.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: java.lang.IllegalStateException: ****No typehandler found for property roles

原因:
I在这里插入图片描述@Result(property = “roles”, column = “id”) 多写了一行,细心啊啊啊啊啊啊

发布了8 篇原创文章 · 获赞 0 · 访问量 224
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 深蓝海洋 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览