springboot + mybatis 自动生成 mapper,写接口的时候出现了Invalid bound statement (not found)
找了好久发现在yml配置文件中忘了修改路径
mybatis:
mapper-locations: classpath:mybatis/*.xml
configuration:
cache-enabled: false
这里我修改了resources下mapper.xml文件的路径,但是忘了在yml配置文件中修改,导致出现了错误
其余的可以参考
https://blog.youkuaiyun.com/weixin_44695793/article/details/107752054