[jboss-jira] [JBoss JIRA] (WFLY-9708) Wildfly 11.0.0.Final JSF 1.2 configuration error
Luis Canales (JIRA)
issues at jboss.org
Thu Jan 18 07:50:00 EST 2018
Luis Canales created WFLY-9708:
----------------------------------
Summary: 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
Assignee: Martin Kouba
Priority: Optional
Attachments: log.txt
Since WFLY-8815, the class WeldApplication extends ApplicationWrapper. The class "ApplicationWrapper" was created in JSF 2.0 so when I try to build JSF1.2 modules (see https://developer.jboss.org/wiki/StepsToAddAnyNewJSFImplementationOrVersionToWildFly) an 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list