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

前端 未结 1 502
时光说笑
时光说笑 2021-01-01 04:36

I\'m currently migrating a JSF-1.2 app to Wildfly 8 Final and am stuck :(

First of all, I\'ve read many post with related issues (e.g. https://community.jboss.org/me

相关标签:
1条回答
  • 2021-01-01 05:18

    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.

    0 讨论(0)
提交回复
热议问题