struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Tag Lib Instantiate Exception
Date Mon, 06 Mar 2006 12:15:57 GMT
do you have your classes located  at 
%CATALINA_HOME%\webapps\WebAppName\WEB-INF\classes ?
or perhaps the jar which contains the taglib is located at 
%CATALINA_HOME%\webapps\WebAppName\WEB-INF\lib ?
You may want to break out the build.xml and execute the target which 
contains jasper compile as a separate task
http://ant.apache.org/manual/OptionalTasks/jspc.html
in order to isolate this error..

Anyone else?
Martin-
----- Original Message ----- 
From: "R, Senthil Kumar (Cognizant)" <SenthilKumar.R@cognizant.com>
To: <user-help@struts.apache.org>; <user@struts.apache.org>
Sent: Monday, March 06, 2006 6:56 AM
Subject: Tag Lib Instantiate Exception



Hi,



When I include Struts tag libs using



<%@taglib uri="/WEB-INF/struts/html.tld" prefix="html"%
<mailto:%25@taglib%20uri="/WEB-INF/struts/html.tld"%20prefix="html"%25>
> and similarly other tag libs I am getting a Exception




HTTP Status 500 -

________________________________


type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

org.apache.jasper.JasperException: Failed to load or instantiate
TagExtraInfo class: org.apache.struts.taglib.tiles.UseAttributeTei

org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHand
ler.java:50)

org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java
:411)

org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java
:283)

org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryIn
foImpl.java:422)

org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImp
l.java:248)

org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.
java:162)

org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)

org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)

org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
        org.apache.jasper.compiler.Parser.parse(Parser.java:126)

org.apache.jasper.compiler.ParserController.doParse(ParserController.jav
a:220)

org.apache.jasper.compiler.ParserController.parse(ParserController.java:
101)

org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:511)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:295)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java
:670)

org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:6
37)
        org.apache.jsp.index_jsp._jspService(index_jsp.java:43)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:324)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.lang.ClassNotFoundException:
org.apache.struts.taglib.tiles.UseAttributeTei

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
java:1340)

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
java:1189)

org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryIn
foImpl.java:419)

org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImp
l.java:248)

org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.
java:162)

org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)

org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)

org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
        org.apache.jasper.compiler.Parser.parse(Parser.java:126)

org.apache.jasper.compiler.ParserController.doParse(ParserController.jav
a:220)

org.apache.jasper.compiler.ParserController.parse(ParserController.java:
101)

org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:511)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:295)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java
:670)

org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:6
37)
        org.apache.jsp.index_jsp._jspService(index_jsp.java:43)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:324)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.28 logs.

________________________________


Apache Tomcat/5.0.28


            I have all the required files in WEB-INF directory.. What is
the problem??



Please Help.



Regards,

Senthil







This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged 
information.
If you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding, 
printing or copying of this email or any action taken in reliance on this 
e-mail is strictly
prohibited and may be unlawful.

  Visit us at http://www.cognizant.com 

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


Mime
View raw message