Failed to decode downloaded font和OTS parsing error: Failed to convert *** font to ***

技术文章 5个月前 完美者
1,084 0

标签:lte   nts   查看   sources   filter   文件   str   font   pre   

使用Springboot+ bootstrap 开发做项目,在写页面时候出现按钮不展示,查看页面出现下面的我问题:

因为经过maven的filter,会破坏font文件的二进制文件格式,到时前台解析出错。

<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<excludes>
<exclude>static/fonts/**</exclude>
</excludes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<includes>
<include>static/fonts/**</include>
</includes>
</resource>
</resources>

Failed to decode downloaded font和OTS parsing error: Failed to convert *** font to ***

标签:lte   nts   查看   sources   filter   文件   str   font   pre   

原文地址:https://www.cnblogs.com/JerryTomcat/p/13903389.html

暂无评论

暂无评论...