org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):

来源:互联网 发布:淘宝买家差评怎么删除 编辑:程序博客网 时间:2024/05/17 03:55

最近用spring boot +mybatis +mysql 在idea下搭建了个环境 发现总报上面的错误,mapping配置没错,xml的spacename也没问题,最后发现要在

application.properties里面加下面这句就可以了 后面的是你放xml文件的路径

mybatis.mapper-locations=classpath:com/example/mapper/*.xml
阅读全文
0 0