Invalid bound statement(not found):cn.e3mall.mapper.TbItemMapper.selectByExample.....

1、出现如下问题:

 Invalid bound statement(not found):cn.e3mall.mapper.TbItemMapper.selectByExample....._第1张图片

说明mapper接口和mapper.xml映射文件没有在一个文件夹下面

2、解决方法:

dao层的pom.xml中配置一下:






    

           

               src/main/java

               

                   **/*.properties

                   **/*.xml

               

               false

           

       


 

转载于:https://www.cnblogs.com/rgever/p/10145260.html

你可能感兴趣的:(Invalid bound statement(not found):cn.e3mall.mapper.TbItemMapper.selectByExample.....)