mybatis整合

来源:6-2 使用mybatis逆向工具

YXF_LYY

2018-12-11

Error creating bean with name ‘chatMsgMapper’ defined in file [C:\Users\yangxiaofang\Workspaces\MyEclipse CI\jia-yuanlai-netty\target\classes\com\xiaofang\mapper\ChatMsgMapper.class]: Unsatisfied dependency expressed through bean property ‘sqlSessionFactory’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘sqlSessionFactory’ defined in class path resource [tk/mybatis/mapper/autoconfigure/MapperAutoConfiguration.class]: Unsatisfied dependency expressed through method ‘sqlSessionFactory’ parameter 0;老师我的在netty与mybatise整合完成后给报了这么一个错误,具体是什么原因呢?我看了配置文件应该是没有问题的,是我导入的jar包问题吗?

写回答

2回答

慕粉1462372119

2019-03-07

我也遇到了,mapper里重复了

0
0

风间影月

2018-12-11

检查所有mapper的内容是否重复,打开文件看看。另外建议进群讨论,对于日志信息请截图,复制过来的在手机上看不清噢

0
0

Netty+Spring Boot仿微信-全栈开发高性能后台及客户端

SpringBoot/Netty+MUI全栈开发 同时搞定后台+ Android&iOS

1498 学习 · 684 问题

查看课程