Invalid bound statement (not found): com.test.mapper.XXX.XXX IDEA
我用的是yml文件加载的mapper,没有找到是因为idea的yml文件格式问题,一定要写成下面这样格式的,一定要写成下面这样格式的,一定要写成下面这样格式的,重要的事说三遍!
mybatis:
configuration:
map-underscore-to-camel-case: true
mapper-locations:
- mapper/*.xml
...
原创
2020-06-26 20:38:01 ·
1024 阅读 ·
2 评论