自学内容网 自学内容网

Invalid bound statement (not found)

Invalid bound statement (not found)
首先申明的是这个错误一般是使用mybatis方法没有找到或者参数不匹配等原因造成的!
原本项目是使用eclipse运行,导入到idea之后,项目启动就报错
…Invalid bound statement (not found)…
解决办法:
在项目的pom.xml中加入如下代码

<resources>
  <resource>
  <directory>src/main/java</directory>
  <includes>
  <include>**/*.xml</include>
  </includes>
  </resource>
  </resources>

具体放置在位置,如下图: 请添加图片描述


原文地址:https://blog.csdn.net/weixin_43532346/article/details/140626361

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!