Brent, Sounds like your Jar is in the right place, so it must be that you need to do an <%@ page import="" %> for the JspXslt at the top of your page.
The error is definitely the java compiler not finding the JspXslt class, and not an XSLT error. Stephen -----Original Message----- From: Worley Brent - bworle [mailto:[EMAIL PROTECTED] Sent: 14 June 2004 17:09 To: 'Tomcat Users List' Subject: RE: Can someone explain this? The Xslt is in my application directory WEB-INF/lib/Xslt.jar. According to everything I've read this is in the path and should be picked up. -----Original Message----- From: Stephen Reilly [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 10:07 AM To: Tomcat Users List Subject: RE: Can someone explain this? Brent, I'm quite a newbie with Tomcat, but this looks like a Java compilation error. I assume that the XSLT parser is not a standard part of the Tomcat Distro, so have you put the JAR file containing it into the $CATALINA_BASE/common/lib directory? You might also have to import the required classes on your page. I haven't used tag libs yet so I am not 100% on this point. Hope this helps, Stephen -----Original Message----- From: Worley Brent - bworle [mailto:[EMAIL PROTECTED] Sent: 14 June 2004 14:48 To: 'Tomcat Users List' Subject: Can someone explain this? Can someone explain this error to me? Am I using an older standard for XSLT? Here is the line that is pointed to in the .jsp file: <acx:xslt xslt="<%=request.getRealPath("WEB-INF/xsl/searchinput.xsl")%>" Thanks, Brent --------------------------- org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 55 in the jsp file: /search.jsp Generated servlet error: [javac] Compiling 1 source file /usr/local/jakarta-tomcat-5.0.24/work/Catalina/localhost/SIT/org/apache/ jsp/ search_jsp.java:295: cannot resolve symbol symbol : class JspXslt location: class org.apache.jsp.search_jsp JspXslt _jspx_th_acx_xslt_0 = (JspXslt) _jspx_tagPool_acx_xslt_xslt_xml.get(JspXslt.class); ^ An error occurred at line: 55 in the jsp file: /search.jsp Generated servlet error: /usr/local/jakarta-tomcat-5.0.24/work/Catalina/localhost/SIT/org/apache/ jsp/ search_jsp.java:295: cannot resolve symbol symbol : class JspXslt location: class org.apache.jsp.search_jsp JspXslt _jspx_th_acx_xslt_0 = (JspXslt) _jspx_tagPool_acx_xslt_xslt_xml.get(JspXslt.class); ^ An error occurred at line: 55 in the jsp file: /search.jsp Generated servlet error: /usr/local/jakarta-tomcat-5.0.24/work/Catalina/localhost/SIT/org/apache/ jsp/ search_jsp.java:295: cannot resolve symbol symbol : class JspXslt location: class org.apache.jsp.search_jsp JspXslt _jspx_th_acx_xslt_0 = (JspXslt) _jspx_tagPool_acx_xslt_xslt_xml.get(JspXslt.class); ^ Note: /usr/local/jakarta-tomcat-5.0.24/work/Catalina/localhost/SIT/org/apache/ jsp/ search_jsp.java uses or overrides a deprecated API. Note: Recompile with -deprecation for details. 3 errors at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHa ndle r.java:83) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.ja va:3 06) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:398) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:441) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:422) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja va:5 07) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:2 74) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tion FilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erCh ain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.ja va:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntex t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon text Valve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.ja va:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntex t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :137 ) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntex t.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :117 ) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntex t.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java :109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntex t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79 3) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC onne ction(Http11Protocol.java:702) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57 1) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .jav a:644) at java.lang.Thread.run(Thread.java:534) ********************************************************************** The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please re-send this communication to the sender and delete the original message or any copy of it from your computer system. Thank You. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
