引入mybatisplus后,使用自定义方法报Invalid bound statement (not found)错误的解决方法
按照网上的所有方法都试了一遍,都不管用。
最后看了一下.yml配置文件,
mybatis-plus: mapper-locations: classpath:mappers/*Mapper.xml type-aliases-package: com.xxxxx.entity
此处我写成了mybatis:xxxxxx
我之前使用tkMapper时这里这样写没有任何问题。
如果使用mybatis-plus这里要写成mybatis-plus的配置,问题解决

浙公网安备 33010602011771号