配置idea支持src/main/java中Mybatis中mapper的扫描
只需在
pom.xml
中的<build>
标签中加入如下配置即可<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
pom.xml
中的<build>
标签中加入如下配置即可<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>