Hi all,
I am new to JSF.I am trying to create and run a sample JSF application using JSF1.2.
I have following dir structure for my web-app
jsf-guessNumber
������������WEB-INF <= contains faces-config.xml and web.xml
������������classes
��� ������������guessNumber
��� ������������META-INF
��� ������������services <= contains **
������������lib <== conatins ***
** Contains following files
javax.faces.application.ApplicationFactory
javax.faces.context.FacesContextFactory
javax.faces.lifecycle.LifecycleFactory
javax.faces.render.RenderKitFactory
***
cglib-2.1.1.jar
common-annotations.jar
commons-beanutils.jar
commons-collections.jar
commons-digester.jar
commons-logging.jar
datatypes.dtd
el-api.jar
el-ri.jar
html_basic.tld
jboss-serialization.jar
jsf-api.jar
jsf-impl.jar
jsf_core.tld
jsp-api.jar
myfaces-all.jar
portlet.jar
web-facesconfig_1_0.dtd
web-facesconfig_1_1.dtd
XMLSchema.dtd
Now when I try to access the application like
http://localhost:8080/jsf-guessNumber/ I am getting following error..
java.lang.NullPointerException
com.sun.faces.lifecycle.LifecycleImpl.populateFacesELResolverForJsp(LifecycleImpl.java:385)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:123)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:712)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:682)
org.apache.jsp.index_jsp._jspService(index_jsp.java:43)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
Any Idea why this exception might be coming ?
Ajit