[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Unable to run facelets numberguess example in JBoss 5
shambhu541
do-not-reply at jboss.com
Sat Jan 10 14:49:43 EST 2009
Hi,
I dont know whether it will work for everyone or not! but it seems to work for me.
Goto jboss jsf-libs folder, that is
<JBOSS\>jboss-5.x.x.CR2->server->default->deploy->jbossweb.sar->jsf-libs
add the following jars if they are not there ...
myfaces-api-x.x.x.jar(myfaces-api-1.2.5.jar)
myfaces-impl-1.2.5.jar(myfaces-impl-1.2.5.jar)
myfaces-shared-impl-3.0.5.jar
Then open your ide (eclipse the one I used)
open web.xml file in the
webcontent->WEB-INF folder
and add this
<listener>
| <listener class> org.apache.myfaces.webapp.StartupServletContextListener
| </listener-class>
| </listener>
And then save the project and run the application.
in case if it does not run add the above jars to project lib folder too.
and check whether in the
<JBOSS\>jboss-5.x.x.CR2->server->default->deploy->jbossweb.sar->jsf-libs
folder jsf-facelets jar is included or not
wish you luck ...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200794#4200794
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200794
More information about the jboss-user
mailing list