Invalid bound statement (not found): com.ruoyi.system.mapper.SysStudentMapper.selectSysStudentList(示

Posted 时光里的赶路人

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Invalid bound statement (not found): com.ruoyi.system.mapper.SysStudentMapper.selectSysStudentList(示相关的知识,希望对你有一定的参考价值。

解决办法:在mapper工程下的pom文件中加入下面的内容,让mapper映射文件加载到target的classes中去

 

<!-- 如果不添加此节点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): com.ruoyi.system.mapper.SysStudentMapper.selectSysStudentList(示的主要内容,如果未能解决你的问题,请参考以下文章

Invalid bound statement not found

Invalid bound statement (not found) 错误原因

报错 Invalid bound statement (not found): com.xxx.mapper.xxx

Invalid bound statement (not found)

Mybatis 异常记录: Invalid bound statement (not found)

mybatis错误:Invalid bound statement (not found)