springboot Mapper: Specified class is an interface
使用springboot集成mongo和mybatis的时候,启动报错XXXMapper]: Specified class is an interface怀疑mybatis和mongo扫描时互相干扰造成的。在Application启动类中添加@MapperScan("com.demo.springboot.mapper")启动正常欢迎加入我们交流群578692121
原创
2017-11-08 13:42:46 ·
2801 阅读 ·
0 评论