I just want to share my experience with a similar problem, I use maven
, netbeans
and payara
. Once I had this warning:
WARNING No mime type could be found for file fontawesome-webfont.woff is logged
The solution to remove this warning was adding the following code to the web.xml
:
<mime-mapping>
<extension>woff</extension>
<mime-type>application/font-woff</mime-type>
</mime-mapping>
Note: I had the same warning with different files, those files had different extensions (woff, eot, woff2 and ttf
). The solution to this was to replace woff
in <extension>
with one of the extensions previously mentioned.
I hope that my answer will help someone someday.
PS : I found the solution in this page.