java.lang.NoClassDefFoundError: com/bea/xml/XmlException

Oracle Community | 1003192 | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Weblogic12.c and JWS - NoClassDefFoundError using JwscTask

    Oracle Community | 4 years ago | 1003192
    java.lang.NoClassDefFoundError: com/bea/xml/XmlException
  2. 0

    Error While building the Sample Example

    Oracle Community | 5 years ago | 923382
    java.lang.NoClassDefFoundError: com/sun/xml/ws/model/RuntimeModeler at weblogic.wsee.util.ClassUtil.getNamespaceFromClass(ClassUtil.java:151 *)*

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      com/bea/xml/XmlException

      at weblogic.wsee.jws.HandlerChainDeclFactory.newInstance()
    2. weblogic.wsee.jws
      WebServiceRuntimeDecl.<init>
      1. weblogic.wsee.jws.HandlerChainDeclFactory.newInstance(HandlerChainDeclFactory.java:20)
      2. weblogic.wsee.jws.WebServiceRuntimeDecl.<init>(WebServiceRuntimeDecl.java:91)
      2 frames
    3. weblogic.wsee.tools
      JwscTask.execute
      1. weblogic.wsee.tools.jws.decl.WebServiceDecl.<init>(WebServiceDecl.java:48)
      2. weblogic.wsee.tools.jws.decl.WebServiceSEIDecl.<init>(WebServiceSEIDecl.java:81)
      3. weblogic.wsee.tools.jws.decl.WebServiceSEIDecl.<init>(WebServiceSEIDecl.java:68)
      4. weblogic.wsee.tools.jws.decl.WebServiceDeclFactory.newInstance(WebServiceDeclFactory.java:54)
      5. weblogic.wsee.tools.anttasks.JwsModule.buildAndValidate(JwsModule.java:596)
      6. weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:587)
      7. weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:382)
      8. weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:258)
      9. weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:229)
      9 frames
    4. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    6. Ant
      Main.startAnt
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:435)
      4. org.apache.tools.ant.Target.performTasks(Target.java:456)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
      6. org.apache.tools.ant.Project.executeTarget(Project.java:1364)
      7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      8. org.apache.tools.ant.Project.executeTargets(Project.java:1248)
      9. org.apache.tools.ant.Main.runBuild(Main.java:851)
      10. org.apache.tools.ant.Main.startAnt(Main.java:235)
      10 frames
    7. Apache Ant Launcher
      Launcher.main
      1. org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
      2. org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
      2 frames