【发布时间】:2016-03-06 08:36:08
【问题描述】:
字体在 Spring Boot / Spring MVC 应用程序中无法正常工作的问题。
问题是所有字体文件都显示各种错误,如下所示
Failed to decode downloaded font: http://localhost:8080/fonts/fontawesome-webfont.woff2?v=4.4.0
OTS parsing error: Failed to convert WOFF 2.0 font to SFNT
Failed to decode downloaded font: http://localhost:8080/fonts/fontawesome-webfont.woff?v=4.4.0
OTS parsing error: incorrect file size in WOFF header
Failed to decode downloaded font: http://localhost:8080/fonts/fontawesome-webfont.ttf?v=4.4.0
OTS parsing error: incorrect entrySelector for table directory
【问题讨论】:
-
您解决了这个问题吗?
-
我的回答为我解决了这个问题。
-
好的,太好了。我尝试了所有选项都没有帮助。然后我做了什么来再次构建角度项目,那么一切都很好。也许字体和 woff 文件损坏了
标签: spring-mvc spring-boot font-awesome