字体打包时损坏

在使用springboot时,在resources添加.ttf类型的字体集,本地jar启动没有丝毫问题,打成war之后,就出出现,字符集读取失败的错误,这是因为在打包过程中*.ttf文件被损坏了。
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×