Failed to decode downloaded font BootStrap图标不显示问题

最近使用人人的开源项目进行二次开发时,前端报黄色错误Failed to decode downloaded font 

Failed to decode downloaded font BootStrap图标不显示问题_第1张图片

该错误是maven打包问题

解决方案:build标签下加入

        
            
                src/main/resources
                true
                
                    /statics/fonts/*.woff
                    /statics/fonts/*.woff2
                    /statics/fonts/*.ttf
                
            
            
                src/main/resources
                false
                
                    /statics/fonts/*.woff
                    /statics/fonts/*.woff2
                    /statics/fonts/*.ttf
                
            
        

 

你可能感兴趣的:(JavaWEB)