struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pasanewa <pasan...@gmail.com>
Subject Re: Struts 1.2 in Tomact 5.0 giving ERRORS...
Date Mon, 06 Jul 2009 00:49:32 GMT

in the classpath:
the TOMCAT setting was previous one...so i changed to..

<classpathentry kind="var" path="TOMCAT_HOME/common/lib/servlet-api.jar"/>

BUT i still get ERROR like..
-----------------------------------

ERROR http-8080-Processor25 (StandardWrapperValve.java:250) Java.lang by
which Servlet.service() of - servlet jsp threw out exception.
NoSuchMethodError:
javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
at
org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:581)
at
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:402)
at
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:249)
at
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:180)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:424)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:493)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1557)
at org.apache.jasper.compiler.Parser.parse(Parser.java:127)
at
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:212)
at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:156)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:619)



Nils-Helge Garli wrote:
> 
> Change the classpath to servlet-api? Where? The container should
> provide all the jsp and servlet jars that you need (with correct
> versions). You should probably not tamper with the classpath to any of
> those...
> 
> Nils-H
> 
> On Fri, Jul 3, 2009 at 10:40 AM, pasanewa<pasanewa@gmail.com> wrote:
>>
>> I was using Tomcat 4.1 and Struts..I was doing fine. Until i tried to use
>> EL.
>> But EL can only be used in Tomcat 5.0. So i installed Tomcat 5.0 and
>> uninstalled Tomcat 4.0.
>> But then there came lots of ERRORS.
>>
>> I changed the CLASSPATH to servlet-api.jar(new version)
>>
>> BUT there still are errors. I think JSP 2.0 isnt being able to read the
>> TAGLIBS..
>> so it shows errors..
>>
>> ERROR [http-8080-Processor25] (StandardWrapperValve.java:250) -
>> Servlet.service() of servlet jsp threw out the exception.
>> java.lang.NoSuchMethodError:
>> javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
>>        at
>> org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:581)
>>        at
>> org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:402)
>>        at
>> org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:249)
>>        at
>> org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:180)
>>        at
>> org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:424)
>>        at
>> org.apache.jasper.compiler.Parser.parseDirective(Parser.java:493)
>>        at
>> org.apache.jasper.compiler.Parser.parseElements(Parser.java:1557)
>>        at org.apache.jasper.compiler.Parser.parse(Parser.java:127)
>>        at
>> org.apache.jasper.compiler.ParserController.doParse(ParserController.java:212)
>>        at
>> org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
>>        at
>> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:156)
>>        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
>>        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
>>        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
>>        at
>> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
>>        at
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299)
>>        at
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
>>        at
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>        at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>>        at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>>        at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
>>        at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
>>        at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>        at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>>        at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>>        at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
>>        at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
>>        at
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>>        at
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>>        at
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>>        at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
>>        at java.lang.Thread.run(Thread.java:619)
>>
>>
>> --------------------------------
>>
>> My index.jsp page has...
>>
>> <%@ page language="java"%>
>> <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
>> <logic:forward name="login"/>
>>
>>
>>
>> THIS IS it...
>>
>>
>> CAN ANYONE HELP me with this???????????
>> plzz
>> --
>> View this message in context:
>> http://www.nabble.com/Struts-1.2-in-Tomact-5.0-giving-ERRORS...-tp24319651p24319651.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Struts-1.2-in-Tomact-5.0-giving-ERRORS...-tp24319651p24348311.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message