Deploying JSF 1.2 based web application to JBoss EAP 7.0 -
i have web application based on jsf 1.2 . jsf jars packed in war library. we try deploy war in jboss eap 7.0 , war gets deployed application not run.
i found jboss eap 7.0 not support jsf 1.2 . web application not jsf 2.0 complaint. great if body can list down steps so.
thanks
please try these steps:
add deployment-structure.xml project (web-inf/jboss-deployment-structure.xml war or meta-inf/jboss-deployment-structure.xml ear) exclusions:
<exclusions> <module name="javax.faces.api" slot="main" /> <module name="com.sun.jsf-impl" slot="main" /> <module name="org.jboss.as.jsf-injection" slot="main" /> </exclusions>import dependecies in pom.xml, jsf need. that:
<dependency> <groupid>javax.faces</groupid> <artifactid>jsf-api</artifactid> <version>1.2-b19</version> </dependency> <dependency> <groupid>javax.faces</groupid> <artifactid>jsf-impl</artifactid> <version>1.2-b19</version> </dependency> <dependency> <groupid>com.sun.facelets</groupid> <artifactid>jsf-facelets</artifactid> <version>1.1.11</version> </dependency> <dependency> <groupid>javax.servlet</groupid> <artifactid>jstl</artifactid> <version>1.1.0</version> </dependency>
Comments
Post a Comment