mapper映射文件不发布

mapper映射文件不发布的问题:在pom.xml中配置,指定加载哪些资源

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

 

posted @ 2018-04-14 10:39  admin_jh  阅读(92)  评论(0编辑  收藏  举报