哪位朋友帮帮忙,我实在没办法了。

03-11-23 luckypen
我用jdk1.4。resin2.1.6能运行的jsp页面,在tomcat3.2.3环境下却报错。如下:不知道是哪里错了,由于在resin下能正常运行,估计是tomcat哪里缺少配置,但我在环境变量里都配了,请高手看看是哪里错了?谢谢!

Error: 500

Location: /jsp/category.jsp

Internal Servlet Error:

javax.servlet.ServletException: Db.DbCommodity.getCommodity(Ljava/lang/String;Ljavax/servlet/jsp/JspWriter;Ljava/lang/String;)Ljava/util/Vector;

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

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:812)

at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)

at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)

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:536)

Root cause:

java.lang.NoSuchMethodError: Db.DbCommodity.getCommodity(Ljava/lang/String;Ljavax/servlet/jsp/JspWriter;Ljava/lang/String;)Ljava/util/Vector;

at _0002fcategory_0002ejspcategory_jsp_0._jspService(_0002fcategory_0002ejspcategory_jsp_0.java:118)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)

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:853)

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:812)

at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)

at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)

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:536)

猜你喜欢