问题
I have an issue with my JSF page since I've installed Mojorra version 2.2.12 (from 2.2.8): it throws an exception when the page is loaded. The exception is: Named object: org.omnifaces.component.output.ResourceInclude not found.
I have the exact same issue with the Mojorra version 2.2.11. I don't have any problem with the version 2.2.8, 2.2.9, and 2.2.10.
Environment: Tomcat 8 + omnifaces 1.11 + jsf 2.2.12 + richfaces 4.5.4.final.
My JSF page includes a JSP fragment through the o:resourceInclude tag (it's not a design choice but rather a technical constraint I have to bear with).
Did I miss something in the configuration of omnifaces so the resourceInclude faces component can be found?
Edit:
The following problems arise when I switch to JSF 2.2.12:
- The named object resourceInclude cannot be found
- The omnifaces.SelectItemsConverter converter cannot be found
- When a binding attribute refers to a java bean with a view scope, the said java bean cannot been found
- I have removed omnifaces from the WEB-INF/lib directory, but I still have the issue #3
来源:https://stackoverflow.com/questions/32327848/named-object-resource-include-not-found-omnifaces-jsf-2-2-12