Hi, Someone told you to put JspXslt.class in a package, IIRC. I think that's the problem. Repackage the jar if you have to, for testing purposes, and change the TLD to refer to the class by whatever package you put it in, e.g. com.foo.bar.JspXslt.
Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Worley Brent - bworle [mailto:[EMAIL PROTECTED] >Sent: Wednesday, June 16, 2004 1:32 PM >To: 'Tomcat Users List' >Subject: Second Try: Can anyone explain this? > >I posted this earlier and received a few leads on what to do, but nothing >worked. I'm hoping a second look and explanation will help. > >The page that is causing the error (search.jsp) uses a taglib to load >xslt.tld (<%@ taglib prefix="acx" uri="WEB-INF/tld/xslt.tld" %>). The .tld >file defines a tag named xslt that uses a class named JspXslt. JspXslt is >located in WEB-INF/lib/Xslt.jar. > >So here are my questions: > >1. Is anyone familiar with a standard Xslt.jar file that contains the >JspXslt.class object? >2. Why would Tomcat not find JspXslt.class? > >I've included the xml from the .tld file and the errors below. > ><taglib> > <tlibversion>0.0</tlibversion> > <jspversion>1.0</jspversion> > <shortname>acx</shortname> > <tag> > <name>xslt</name> > <tagclass>JspXslt</tagclass> > <bodycontent>jsp</bodycontent> > <attribute> > <name>xml</name> > <required>false</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>xslt</name> > <required>true</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>nobreak</name> > <required>false</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > </tag> ></taglib> > >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(DefaultErrorH andl >e >r.java:83) > at >org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.j ava: >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.j ava: >5 >07) > at >org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j ava: >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(Applic atio >n >FilterChain.java:237) > at >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terC >h >ain.java:157) > at >org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve.j >a >va:214) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC onte >x >t.java:104) > at >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) > at >org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCo ntex >t >Valve.java:198) > at >org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal ve.j >a >va:152) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC onte >x >t.java:104) > at >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) > at >org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav a:13 >7 >) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC onte >x >t.java:104) > at >org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav a:11 >7 >) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC onte >x >t.java:102) > at >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) > at >org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve .jav >a >:109) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC onte >x >t.java:104) > at >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) > 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:7 93) > at >org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process Conn >e >ction(Http11Protocol.java:702) > at >org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:5 71) > at >org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo l.ja >v >a:644) > at java.lang.Thread.run(Thread.java:534) > > >Thanks, > >Brent Worley > > >********************************************************************** >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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
