Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3-next-M7, 4.0.0-RC5
-
None
Description
When running in Quarkus Native mode only:
- resources in /META-INF/resources are registered which means `META-INF/web.xml` is not included but needs to be.
- Resource registered in error pages must be registered with Reflection so things like OmniFacesExceptionHandler and PrimeExceptionHanlder can handle them and display them in EL on pages.
<error-page> <exception-type>java.lang.Throwable</exception-type> <location>/error.xhtml</location> </error-page> <error-page> <exception-type>javax.faces.application.ViewExpiredException</exception-type> <location>/viewExpired.xhtml</location> </error-page> <error-page> <error-code>404</error-code> <location>/error.xhtml</location> </error-page>