Hello
I purchased only the theme Ronin but my Project pulls me a lot of WARNING´s MIME. I know I have to declare in web.xml but this time I don't have the resources files because only bought the theme so what should I do to fix the WARNINGS...?
2:41:48,422 WARNING [javax.enterprise.resource.webcontainer.jsf.context] (http-/0.0.0.0:8080-1) JSF1091: no se ha encontrado ningún tipo MIME para el archivo fonts/dosis-medium-webfont.woff2. Para resolverlo, agregue una asignación de tipo MIME al archivo web.xml de la aplicación.
12:41:48,424 WARNING [javax.enterprise.resource.webcontainer.jsf.context] (http-/0.0.0.0:8080-1) JSF1091: no se ha encontrado ningún tipo MIME para el archivo fonts/dosis-regular-webfont.woff2. Para resolverlo, agregue una asignación de tipo MIME al archivo web.xml de la aplicación.
12:41:48,424 WARNING [javax.enterprise.resource.webcontainer.jsf.context] (http-/0.0.0.0:8080-1) JSF1091: no se ha encontrado ningún tipo MIME para el archivo fonts/dosis-regular-webfont.woff2. Para resolverlo, agregue una asignación de tipo MIME al archivo web.xml de la aplicación.
12:41:48,425 WARNING [javax.enterprise.resource.webcontainer.jsf.context] (http-/0.0.0.0:8080-1) JSF1091: no se ha encontrado ningún tipo MIME para el archivo fonts/dosis-semibold-webfont.woff2. Para resolverlo, agregue una asignación de tipo MIME al archivo web.xml de la aplicación.
12:41:48,426 WARNING [javax.enterprise.resource.webcontainer.jsf.context] (http-/0.0.0.0:8080-1) JSF1091: no se ha encontrado ningún tipo MIME para el archivo fonts/dosis-semibold-webfont.woff2. Para resolverlo, agregue una asignación de tipo MIME al archivo web.xml de la aplicación.
12:41:48,427 WARNING [javax.enterprise.resource.webcontainer.jsf.context] (http-/0.0.0.0:8080-1) JSF1091: no se ha encontrado ningún tipo MIME para el archivo fonts/dosis-light-webfont.woff2. Para resolverlo, agregue una asignación de tipo MIME al archivo web.xml de la aplicación.
12:41:48,427 WARNING [javax.enterprise.resource.webcontainer.jsf.context] (http-/0.0.0.0:8080-1) JSF1091: no se ha encontrado ningún tipo MIME para el archivo fonts/dosis-light-webfont.woff2. Para resolverlo, agregue una asignación de tipo MIME al archivo web.xml de la aplicación.
Regards.
Ronin WARNING MIME
That's a JSF Thingy.
Add this to your web.xml to give your web app the mapping for those:
Add this to your web.xml to give your web app the mapping for those:
Code: Select all
<mime-mapping>
<extension>ttf</extension>
<mime-type>application/x-font-ttf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>woff</extension>
<mime-type>application/x-font-woff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>woff2</extension>
<mime-type>application/x-font-woff2</mime-type>
</mime-mapping>
<mime-mapping>
<extension>eot</extension>
<mime-type>application/x-font-eot</mime-type>
</mime-mapping>
I never finish anyth..
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Thank you, Torsten +1
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 1 guest