<!--
    IDEA需要添加一下内容,否则无法找到mapper
-->
    <build>
        <resources>
            <resource>
                <directory>src/main/java</directory>
                <includes>
                    <include>**/web/dal/*/mapper/*Mapper.xml</include>
                </includes>
                <filtering>true</filtering>
            </resource>
        </resources>
    </build>

如果在mybatis的xml配置无误情况下,还出现Invalid bound statement (not found) ,那么就在当前模块的pom.xml中添加此段代码。

相关文章:

  • 2021-08-05
  • 2022-01-13
  • 2021-10-11
  • 2022-12-23
  • 2022-01-09
  • 2021-12-19
  • 2021-10-08
猜你喜欢
  • 2021-12-16
  • 2021-05-17
  • 2021-06-18
  • 2021-09-16
  • 2021-09-08
  • 2021-10-19
  • 2021-08-02
相关资源
相似解决方案