标签:需要 静态 logs includes code js等 项目 lan maven
今天学到Spring整合Mybatis的时候,被这个错误坑了,所以写一篇随笔来加深一下印象
解决办法:
<build>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</build>
本篇博客引用:Maven解决静态资源过滤问题
在此,特别感谢!
标签:需要 静态 logs includes code js等 项目 lan maven
原文地址:https://www.cnblogs.com/gttttttt/p/12901442.html