首页 > 其他 > 详细

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

时间:2020-10-30 19:14:18      阅读:37      评论:0      收藏:0      [点我收藏+]

使用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 ***

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!