idea中xml編譯不到target資料夾裡的問題
阿新 • • 發佈:2019-01-24
pom.xml檔案中新增:
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>*</include>
<include>*/*</include>
</includes>
<filtering>true</filtering>
</resource>
<!--mybatis 介面xml編譯到原始碼下面 -->
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include >
</includes>
</resource>
</resources>
重新build一下,OK!