-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSF1091: No mime type could be found for file null. To resolve this, add a mime-type mapping to the applications web.xml. #1155
Comments
I don't think this bug has anything to do with BootsFaces. Maybe the error message is correct. Have you registered the *.xhtml files with the FacesServlet? <?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
...
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
</web-app> |
I did: <?xml version="1.0" encoding="UTF-8"?>
<web-app version="4.0" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd">
...
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.xhtml</url-pattern>
</servlet-mapping> anyway it dont broke anything just log |
Which URL are you using? If you configure your FacesServlet like so, it shows the |
I also have the error "com.sun.faces.context.ExternalContextImpl#798 - JSF1091: No mime type could be found for file null...." |
Yes, it would be nice if there would be a fix for this (not using the CDN is a rather drastic measure) |
About this PR I think the error comes from a missing type = "text / javascript" tag in InternalIE8CompatiblityLinks BootsFaces-OSP/src/main/java/net/bootsfaces/listeners/InternalIE8CompatiblityLinks.java Line 62 in 4678f40
|
found the point of the log message |
I tried my approach, but it didn't help. The question is why is this message coming? |
I'm afraid development of BootsFaces has slowed down considerably. We'll never manage to address this issue. Let's close it. |
hi, im getting this error, on fresh proyect. I run on payara 5 and tomme 8
bootsfaces version 1.5.0
26-Sep-2020 19:13:20.173 WARNING [http-nio-8080-exec-7] com.sun.faces.context.ExternalContextImpl.getMimeType JSF1091: No mime type could be found for file null. To resolve this, add a mime-type mapping to the applications web.xml.
The page to reproduce:
is related to de update field
The text was updated successfully, but these errors were encountered: