0 Replies Latest reply on Mar 15, 2003 2:13 PM by John Doe

    NoClassDefFoundError

    John Doe Newbie

      When trying to runn a servlet, I am getting the below error (however the util.webutil.SupplierCommunication class works fine when called from a JSP)

      10:15:01,173 WARN [jbossweb] WARNING: Error for /group1/j2ee/servlet/orderFromAC
      java.lang.NoClassDefFoundError: util/webutil/SupplierCommunication
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:1576)
      at java.lang.Class.getConstructor0(Class.java:1748)
      at java.lang.Class.newInstance0(Class.java:266)
      at java.lang.Class.newInstance(Class.java:249)
      at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:172)
      at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:281)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:339)
      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:293)
      at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:192)
      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:151)
      at org.mortbay.jetty.servlet.Invoker.service(Invoker.java:115)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:366)
      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:293)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:581)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1687)
      at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:544)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1637)
      at org.mortbay.http.HttpServer.service(HttpServer.java:875)
      at org.jboss.jetty.Jetty.service(Jetty.java:543)
      at org.mortbay.http.HttpConnection.service(HttpConnection.java:806)
      at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:956)
      at org.mortbay.http.HttpConnection.handle(HttpConnection.java:823)
      at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:203)
      at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:290)
      at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743)
      at java.lang.Thread.run(Thread.java:536)