tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Schwartz ...@arrayone.com>
Subject Re: xpath error
Date Mon, 20 Feb 2006 15:46:49 GMT
Thanks Murray.
That was perfect.
I downloaded xalan & copied the following jars to tomcat/common/lib...

xalan.jar
xercesImpl.jar
xml-apis.jar.

Note: The xalan download contains the required xerces jars.


Quoting Murray Steele <murray@peoplesarchive.com>:

> Sounds like your xalan jars are missing.  But as far as I'm aware 
> they  should come pre-bundled with tomcat *and* the jre (admittedly 
> I'm on  4.1 and 1.4 respectively, so I could be out of date).
>
> Maybe you should check the classpath of your tomcat or grab a xalan  
> from http://xml.apache.org/xalan-j/index.html and put the jar in the  
> WEB-INF/lib/ folder of your webapp and see if that fixes it.  
> Although  I've a feeling that Tomcat might do some "oh, that's a 
> xalan jar, I've  my own one of them, I won't load it" when it comes 
> to looking at jars  in /WEB-INF/lib/ so you could perhaps try putting 
> it somewhere else  (e.g. /common/lib if that still exists in tomcat 
> 5.5)
>
> Muz
>
> On 20 Feb 2006, at 13:49, David Schwartz wrote:
>
>> I just intalled tomcat 5.5.15 & jre1.5.0_06. getting the following  error...
>>
>> org.apache.jasper.JasperException: org/apache/xpath/VariableStack
>> 	 
>> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServl 
>> etWrapper.java:510)
>> 	 
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j 
>> ava:375)
>> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java: 314)
>> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
>> root cause
>>
>> javax.servlet.ServletException: org/apache/xpath/VariableStack
>> 	 
>> org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageCon 
>> textImpl.java:858)
>> 	 
>> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageConte 
>> xtImpl.java:791)
>> 	org.apache.jsp.Logon_jsp._jspService(org.apache.jsp.Logon_jsp:230)
>> 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> 	 
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j 
>> ava:332)
>> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java: 314)
>> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
>> root cause
>>
>> java.lang.NoClassDefFoundError: org/apache/xpath/VariableStack
>> 	 
>> org.apache.taglibs.standard.tag.common.xml.ForEachTag.prepare(ForEachTa 
>> g.java:49)
>> 	 
>> javax.servlet.jsp.jstl.core.LoopTagSupport.doStartTag(LoopTagSupport.ja 
>> va:227)
>> 	 
>> org.apache.jsp.Logon_jsp._jspx_meth_x_forEach_0(org.apache.jsp.Logon_js 
>> p:295)
>> 	org.apache.jsp.Logon_jsp._jspService(org.apache.jsp.Logon_jsp:158)
>> 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> 	 
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j 
>> ava:332)
>> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java: 314)
>> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
>>
>> David Schwartz
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
>>
>>
> --
> Murray Steele
> Head of Development
>
> Peoples Archive
> w: http://www.peoplesarchive.com
> t: 0207 323 0323
> d: 0207 631 9147
>
> This email has been scanned by Postini.
> For more information please visit http://www.postini.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
>
>



David Schwartz
Array Software Inc.
http://www.arrayone.com


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message