Re: xpath error

Murray Steele <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.