Hello,
I have built a Servlet under Tomcat 4.1.29 which works fine. I have been trying to install and run it under Oracle/Apache 1.3.22 and I am getting the following error:
[28/04/2005 13:22:25:506 BST] java.lang.NoSuchMethodError
at com.educationwarwick.servlets.MayCollection.doGet( MayCollection.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:499)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:588)
at org.apache.jserv.JServConnection.processRequest(
JS ervConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnecti on.java:294)
at java.lang.Thread.run(Thread.java:484)
java.lang.NoSuchMethodError
at org.apache.jserv.JServConnection.processRequest(
JS ervConnection.java:462)
at org.apache.jserv.JServConnection.run(JServConnecti on.java:294)
at java.lang.Thread.run(Thread.java:484)
A couple of times I have seen it complain about a line of my code (the errors messages seem to change periodically - not sure why)
The line it objects to is (Line 60 of MayCollection.java):
TEMPLATE_PATH = sc.getInitParameter("TemplatePath");
where sc is a ServletContext object acquired via getServletContext().
Anybody know what it going on?
holdmykidney