我在页面中引用了字体文件,跑起来后出现如下错误:
[DEBUG] 23:42:59.189 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:114) - load properties from File[C:\working\shuxin.epei\im\target\classes\application.properties]
[DEBUG] 23:43:00.052 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:110) - Search mapping for [GET] path=/layui/font/iconfont : NOT Action match
[DEBUG] 23:43:00.105 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:110) - Search mapping for [GET] path=/css/fonts/fa-solid-900 : NOT Action match
[DEBUG] 23:43:00.158 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:110) - Search mapping for [GET] path=/layui/font/iconfont : NOT Action match
[DEBUG] 23:43:00.450 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:110) - Search mapping for [GET] path=/css/fonts/fa-solid-900 : NOT Action match
[DEBUG] 23:43:00.557 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:110) - Search mapping for [GET] path=/css/fonts/fa-solid-900 : NOT Action match
控制平台出现
doc:1 Failed to decode downloaded font: http://127.0.0.1:8181/layui/font/iconfont.woff?v=240
doc:1 OTS parsing error: incorrect file size in WOFF header
doc:1 Failed to decode downloaded font: http://127.0.0.1:8181/layui/font/iconfont.ttf?v=240
doc:1 OTS parsing error: incorrect entrySelector for table directory
doc:1 Failed to decode downloaded font: http://127.0.0.1:8181/css/fonts/fa-solid-900.woff2
doc:1 OTS parsing error: Failed to convert WOFF 2.0 font to SFNT
doc:1 Failed to decode downloaded font: http://127.0.0.1:8181/css/fonts/fa-solid-900.woff
doc:1 OTS parsing error: incorrect file size in WOFF header
doc:1 Failed to decode downloaded font: http://127.0.0.1:8181/css/fonts/fa-solid-900.ttf
doc:1 OTS parsing error: incorrect entrySelector for table directory
针对NB不清楚应该如何配置,请指教下