Named object resource include not found - Omnifaces + JSF 2.2.12

▼魔方 西西 提交于 2019-12-02 09:54:33

问题


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:

  1. The named object resourceInclude cannot be found
  2. The omnifaces.SelectItemsConverter converter cannot be found
  3. When a binding attribute refers to a java bean with a view scope, the said java bean cannot been found
  4. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!