Page 1 of 1

Ronin WARNING MIME

Posted: 19 Jan 2016, 21:03
by hectorhzm
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.

Re: Ronin WARNING MIME

Posted: 22 Jan 2016, 16:52
by Torsten
That's a JSF Thingy.

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>

Re: Ronin WARNING MIME

Posted: 25 Jan 2016, 11:04
by mert.sincan
Thank you, Torsten ;) +1