Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) on project CreditXYCN: /META-INF/resources/favicon.ico (No such file or directory)
原因:权限问题!!!!!!但是我检查了所有的文件夹权限,都是读写。至今不知道如何解决这个,有知道的小伙伴赐教下!
解决:
曲线救国啊
问题代码:<targetPath>里直接写死路径,因为我的是jar,没有任何问题。!!解决
<resource>
<directory>src/main/webapp</directory>
<targetPath>/user/xxx/META-INF/resources/</targetPath>
<includes>
<include>**/**</include>
</includes>
<filtering>false</filtering>
</resource>