JSF 1.2 on Wildfly 8 Final - weld-core-jsf is still referencing JSF 2.2 API

眉间皱痕 提交于 2019-11-30 15:46:06

To make it short, this problem is caused by an incompatibility of weld and JSF 1.2 that won't be fixed in future releases (see here).

In my opinion there are three ways one can go:

  1. Upgrade your application code to work with JSF 2.x.
  2. Exclude the weld subsystem where necessary (will likely require reconfiguring the default-cdi settings of wildfly).
  3. Patch the class ConversationAwareViewHandler appropriately to act differently in case of the old JSF API.

For me, there was only the option to patch the JSF-injection module since an application upgrade was not possible and option 2 would require a larger restructuring of the application.

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