mybatis bind exception

springboot  项目  搜了半天 网上的解决方法千篇一律,最终问题

   原因 ,yml 文件路径问题

mybatis:
mapper-locations: classpath:com/yang/first/mapper.*.xml
type-aliases-package: com.yang.first.entity
mmp 坑爹啊,吸取教训!!!

 

posted @ 2018-03-13 10:32  旋羽  阅读(760)  评论(0编辑  收藏  举报