You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Timo -Blazko- Boewing <li...@neveprise.net> on 2005/01/30 22:42:19 UTC

MyFaces example app fails to work under Eclipse

Hello together,

This is really strange and maybe you have read my posting from January
17th already.
This is the situation: when deploying the MyFaces 1.08 example war app
under Tomcat 5.5x (currently 5.5.7) and removing commons-el.jar and
jsp20.jar (as recommended in other threads in order to work in Tomcat >=
5.5.0) just after that, the sample app works pretty fine.

As soon as I move this sample app into another physical location, i.e.
Eclipse's workspace and registering the app to Tomcat via the Sysdeo
Tomcat plugin, it always fails. I previously tried around with writing
apps from scrath starting w/ MyFaces version 1.07, I always got the same
error.

This is the error I always get:

>>>
exception 

org.apache.jasper.JasperException
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause 

java.lang.NullPointerException
	javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:634)
	javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:244)
	org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:90)
	org.apache.jsp.date_jsp._jspx_meth_f_view_0(org.apache.jsp.date_jsp:162)
	org.apache.jsp.date_jsp._jspService(org.apache.jsp.date_jsp:133)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
<<<

FYI: MyFaces servlet and according listener get loaded accordingly; as
well as the XML config files.
Please help me, I absolutely fail to test around w/ MyFaces :-( 
Thank you!

-- 
greetings,                   |  /"\ 
                             |  \ /  ASCII-Ribbon-Campaign
Timo                         |   X     Against HTML Mail
                             |  / \