Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [Beginners Corner] - jsf problem - could not find
 Factory...

scott.stark@jboss.org

2007-06-16


Hello all, need some help,
Getting an exception when deploying a war on Jboss 4.2.GA
there is no lib directory in the war, just the basiic faces-config.xml and web.xml in WEB-INF dir (made according to jboss site).
and two JSPs that I got from
'http://www.coreservlets.com/JSF-Tutorial/index.html'


the exception top looks like this top looks like this:
java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
 at javax.faces.FactoryFinder.getFactory (FactoryFinder.java:256)
 at javax.faces.webapp.FacesServlet.init (FacesServlet.java:142)
 at org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper.java:1161)
 at org.apache.catalina.core.StandardWrapper.load (StandardWrapper.java:981)
.... goes on for 3 pages.

when I went on localhost:8080 the war was deployed and got the pages but these pages don't use any JSF tags, just declare them

any ideas how to fix this, need to do a richfaces project... so this needs to WORK! :-)

thank you in advance,
GR




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054953#4054953

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054953
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.