java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal

GitHub | lukeis | 1 year 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

    Issue 7289 in selenium: HtmlUnitDriver crashes with java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal

    Google Groups | 3 years ago | sele...@googlecode.com
    java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Error when running create-web-bundles.bat

    GitHub | 2 years ago | qotho
    java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildLogger
  4. 0

    java.lang.NoClassDefFoundError maven + eclipse

    Stack Overflow | 3 years ago | stack
    java.lang.NoClassDefFoundError: org/apache/http/client/methods/HttpUriRequest
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.w3c.dom.ElementTraversal

    at java.net.URLClassLoader$1.run()
  2. Java RT
    Class.getDeclaredConstructors
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    2. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    3. java.security.AccessController.doPrivileged(Native Method)
    4. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    6. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    7. java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    8. java.lang.ClassLoader.defineClass1(Native Method)
    9. java.lang.ClassLoader.defineClass(ClassLoader.java:791)
    10. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    11. java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    12. java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    13. java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    14. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    15. java.security.AccessController.doPrivileged(Native Method)
    16. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    17. java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    18. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    19. java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    20. java.lang.ClassLoader.defineClass1(Native Method)
    21. java.lang.ClassLoader.defineClass(ClassLoader.java:791)
    22. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    23. java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    24. java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    25. java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    26. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    27. java.security.AccessController.doPrivileged(Native Method)
    28. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    29. java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    30. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    31. java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    32. java.lang.Class.getDeclaredConstructors0(Native Method)
    33. java.lang.Class.privateGetDeclaredConstructors(Class.java:2413)
    34. java.lang.Class.getDeclaredConstructors(Class.java:1855)
    34 frames
  3. Groovy
    CachedClass$2$1.run
    1. org.codehaus.groovy.reflection.CachedClass$2$1.run(CachedClass.java:69)
    1 frame
  4. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  5. Groovy
    AbstractCallSite.callConstructor
    1. org.codehaus.groovy.reflection.CachedClass$2.initValue(CachedClass.java:66)
    2. org.codehaus.groovy.reflection.CachedClass$2.initValue(CachedClass.java:64)
    3. org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)
    4. org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)
    5. org.codehaus.groovy.reflection.CachedClass.getConstructors(CachedClass.java:258)
    6. groovy.lang.MetaClassImpl.<init>(MetaClassImpl.java:189)
    7. groovy.lang.MetaClassImpl.<init>(MetaClassImpl.java:193)
    8. groovy.lang.MetaClassRegistry$MetaClassCreationHandle.createNormalMetaClass(MetaClassRegistry.java:158)
    9. groovy.lang.MetaClassRegistry$MetaClassCreationHandle.createWithCustomLookup(MetaClassRegistry.java:148)
    10. groovy.lang.MetaClassRegistry$MetaClassCreationHandle.create(MetaClassRegistry.java:131)
    11. org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:175)
    12. org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:192)
    13. org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:255)
    14. org.codehaus.groovy.runtime.InvokerHelper.getMetaClass(InvokerHelper.java:806)
    15. org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallConstructorSite(CallSiteArray.java:84)
    16. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
    17. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
    18. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
    18 frames
  6. net.sourceforge.sebase
    HeadlessTest.test_HtmlUnit
    1. net.sourceforge.sebase.demos.HeadlessTest.test_HtmlUnit(HeadlessTest.groovy:43)
    1 frame
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:601)
    4 frames
  8. JUnit
    JUnit38ClassRunner.run
    1. junit.framework.TestCase.runTest(TestCase.java:176)
    2. junit.framework.TestCase.runBare(TestCase.java:141)
    3. junit.framework.TestResult$1.protect(TestResult.java:122)
    4. junit.framework.TestResult.runProtected(TestResult.java:142)
    5. junit.framework.TestResult.run(TestResult.java:125)
    6. junit.framework.TestCase.run(TestCase.java:129)
    7. junit.framework.TestSuite.runTest(TestSuite.java:255)
    8. junit.framework.TestSuite.run(TestSuite.java:250)
    9. org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
    9 frames
  9. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
    1 frame
  10. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
    5 frames