0 Replies Latest reply on Jun 16, 2004 3:19 PM by Emily

    can't understand my ClassNotFoundException

    Emily Newbie

      I have glue 5.0.1 hosted in JBoss3.0.0. Deploying the exploded war works. I have my glue.jar which contains all glue classes in the WEB-INF/lib directory. When I try to access a wsdl for a service, I get this exception:

      java.lang.NoClassDefFoundError: electric/util/mime/MIMEData
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
      at java.lang.Class.privateGetPublicMethods(Class.java:1770)
      at java.lang.Class.privateGetPublicMethods(Class.java:1780)
      at java.lang.Class.getMethods(Class.java:824)
      at electric.wsdl.generator.WSDLGenerator.getWSDL(Unknown Source)
      at electric.service.object.ObjectService.getWSDL(Unknown Source)
      at electric.wsdl.handler.WSDLHandler.service(Unknown Source)
      at electric.server.http.ServletServer.service(Unknown Source)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
      at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
      at org.mortbay.http.HttpServer.service(HttpServer.java:863)
      at org.jboss.jetty.Jetty.service(Jetty.java:460)
      at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
      at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)

      The confusing thing about this is that there are electric.* (glue) classes that ARE found earlier in the stack trace, and they are sitting in the same jar. Why isn't the electric...MIMEData class found?