Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9708

Wildfly 11.0.0.Final JSF 1.2 configuration error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Optional Optional
    • 14.0.0.Beta2
    • 11.0.0.Final
    • CDI / Weld, JSF
    • None

      Since WFLY-8815, the class WeldApplication extends ApplicationWrapper. The class "ApplicationWrapper" was created in JSF2.0, so when I try to build JSF1.2 modules (see https://developer.jboss.org/wiki/StepsToAddAnyNewJSFImplementationOrVersionToWildFly) and deploy a JSF1.2 application, I get this error:

      java.lang.NoClassDefFoundError: Failed to link org/jboss/as/jsf/injection/weld/WeldApplication (Module "org.jboss.as.jsf-injection:mojarra-1.2_15" from local module loader @3aa9e816 (finder: local module finder @17d99928 (roots: C:\Java\wildfly-11.0.0.Final.gts\modules,C:\Java\wildfly-11.0.0.Final.gts\modules\system\layers\base))): javax/faces/application/ApplicationWrapper

      If I change WeldApplication extends to ForwardingApplication and rebuild modules, the application runs OK.

              rhn-support-iweiss Ingo Weiss
              lcanales_jira Luis Canales (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: