Invalid bound statement (not found) 找不到mapper 映射文件异常

访问页面报如下错(注意第一行后面的 invalid bound statement (not found))

Invalid bound statement (not found) 找不到mapper 映射文件异常

这时候再mapper的pom.xml文件要加如下。 否则该节点mybatis的mapper.xml会被漏掉

     <build>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</build>

----------------------------------------------打赏码--------------------------------

Invalid bound statement (not found) 找不到mapper 映射文件异常

上一篇:Visual Assist X 10.6.1837完美破解版(带VS2010破解)


下一篇:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): cn.e3mall.search.mapper.ItemMapper.getItemList