]
Farah Juma commented on WFLY-9708:
----------------------------------
[~mkouba] Yes, it seems so. The only other option might be to manually update the
injection module after using the multi-jsf installer so it contains the working version of
{{WeldApplication}}.
Wildfly 11.0.0.Final JSF 1.2 configuration error
------------------------------------------------
Key: WFLY-9708
URL:
https://issues.jboss.org/browse/WFLY-9708
Project: WildFly
Issue Type: Bug
Components: CDI / Weld, JSF
Affects Versions: 11.0.0.Final
Reporter: Luis Canales
Priority: Optional
Attachments: log.txt
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/StepsToAddAnyNewJSFImplementationOrVersi...) 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.