mybatis_6_解决mapper文件路径问题

解决mapper文件路径问题

在pom.xml文件中配置resource

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

  

posted @ 2022-08-15 18:16  留白*  阅读(46)  评论(0编辑  收藏  举报