struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tn...@FBOS.com
Subject Please - a little help with "NoSuchMethodError" with Tomcat, Stru ts and Apache
Date Tue, 02 Oct 2001 19:57:42 GMT
I followed the instructions in the installations (tomcat-apache.conf).
However, when I try to run an example like struts-example, I am encountering
the below error, NoSuchMethodError. I have included the JkMount /*.do ajp12
in my mod_jk.conf-prod file referenced by Apache, and it appears correct. I
have reviewed the jasper.log file and it appears as though the request is
valid:


2001-09-09 11:39:01 - Scratch dir for the JSP engine is:
D:\jakarta-tomcat-3.2.3\work\localhost_8080%2Fexamples
2001-09-09 11:39:01 - IMPORTANT: Do not modify the generated servlets
2001-09-09 11:39:23 - JspEngine --> /index.jsp
2001-09-09 11:39:23 - ServletPath: /index.jsp
2001-09-09 11:39:23 - PathInfo: null
2001-09-09 11:39:23 - RealPath:
D:\jakarta-tomcat-3.2.3\webapps\struts-example\index.jsp
2001-09-09 11:39:23 - RequestURI: /struts-example/index.jsp
2001-09-09 11:39:23 - QueryString: null
2001-09-09 11:39:23 - Request Params: 
2001-09-09 11:39:23 - Classpath according to the Servlet Engine is:
D:\jakarta-tomcat-3.2.3\webapps\struts-example\WEB-INF\classes;D:\jakarta-to
mcat-3.2.3\webapps\struts-example\WEB-INF\lib\struts.jar

I have no idea what is causing this error.  I am running Apache 1.3.14,
Tomcat 3.2.3, and Struts 1.0.  The above seems to indicate that it is
finding the page ok so I would have to conclude that I missed something
somewhere during the setup, but am not sure where else to look.

Any assistance is greatly appreciated. Thanks in advance.

Todd G. Nist 
Email:   tnist@fbos.com 

<-------- Error Encountered -------->
Error: 500
Location: /struts-example/index.jsp
Internal Servlet Error:

javax.servlet.ServletException
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
	at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
	at org.apache.tomcat.core.Handler.service(Handler.java:287)
	at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
	at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:166)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
	at java.lang.Thread.run(Thread.java:484)

Root cause: 
java.lang.NoSuchMethodError
	at
org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfo
Impl.java:524)
	at
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoIm
pl.java:432)
	at
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.ja
va:385)
	at
org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:233)
	at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve
ntListener.java:706)
	at
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingList
ener.java:116)
	at
org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:209)
	at
org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
	at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:258)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:268)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
	at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
	at org.apache.tomcat.core.Handler.service(Handler.java:287)
	at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
	at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:166)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
	at java.lang.Thread.run(Thread.java:484)


The information in this electronic mail ("e-mail") message may
be confidential and for use of only the named recipient.  The
information may be protected by privilege, work product immunity
or other applicable law.  If you are not the intended recipient
the retention, dissemination, distribution or copying of this
e-mail message is strictly prohibited.  If you receive this e-mail
message in error please notify us immediately by telephone
at 770-723-1011 or arudesea@fbos.com  Thank you. 



Mime
View raw message