解决OTS parsing error: Failed to convert WOFF 2.0
2016-09-09 10:44
519 查看
摘要: maven建立的spring boot项目,使用bootstrap的glyphicon图标,发现异常信息:OTS parsing error: Failed to convert WOFF 2.0 font to SFNT,图标不显示。
原因:pom.xml文件里,使用maven拷贝了静态资源,其中的filtering设置成了true
修改为false即可。
修改后:
也是醉了~~
原因:pom.xml文件里,使用maven拷贝了静态资源,其中的filtering设置成了true
<filtering>true</filtering>
修改为false即可。
修改后:
<build> <resources> <resource> <directory>src/main/resources</directory> <filtering>false</filtering> <excludes> <exclude>public/bower_components/**</exclude> <exclude>public/coverage/**</exclude> <exclude>public/node_modules/**</exclude> </excludes> <includes> <include>**</include> </includes> </resource> </resources> </build>
也是醉了~~
copyright = { "作者": "墨衣夜行", "本文链接": "http://my.oschina.net/letao/blog/518012" }
相关文章推荐
- 解决Spring Boot OTS parsing error: Failed to convert WOFF 2.0
- 解决Spring Boot OTS parsing error: Failed to convert WOFF 2.0
- Spring Boot + Bootstrap 出现"Failed to decode downloaded font"和"OTS parsing error: Failed to convert WOFF 2.0 font to SFNT"
- CSS Failed to decode downloaded font, OTS parsing error: Failed to convert WOFF 2.0 font to SFNT
- Spring Boot项目页面报错 OTS parsing error: Failed to convert WOFF 2.0
- Spring Boot + Bootstrap 出现"Failed to decode downloaded font"和"OTS parsing error: Failed to convert W
- Spring Boot - Font Awesome OTS parsing error: Failed to convert( Failed to decode downloaded font)
- 解决conversion to dalvik format failed with error 1 的问题
- failed due to the following error: 80070005解决办法. (转)
- 解决错误:ASP.NET Error: Failed to access IIS metabase
- 解决错误:ASP.NET Error: Failed to access IIS metabase
- conversion to dalvik format failed with error 1的解决办法
- 编译apk时出现“Error conversion to Dalvik format failed with error 1”的解决方法
- 解决Conversion to Dalvik format failed with error 1
- (转)conversion to dalvik format failed with error 1的解决办法
- conversion to dalvik format failed with error 1的解决办法
- win7 安装 vmware出错: failed to create the requested registry key key installer error 1021 的解决办法。
- 编译apk时出现“Error conversion to Dalvik format failed with error 1”的解决方法
- conversion to dalvik format failed with error 1的解决办法
- conversion to dalvik format failed with error 1的解决办法