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

    JSF Gui-Testing with Selenium

    Stack Overflow | 1 year ago | Mike Azazel
    java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    java.lang.reflect.invocationtarget exception

    GitHub | 1 year ago | kumarkari
    java.lang.reflect.InvocationTargetException
  4. 0

    java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal - ½Å±¾°ÙÊÂͨ

    csdn123.com | 11 months ago
    java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal
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
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    7. java.lang.ClassLoader.defineClass1(Native Method)
    8. java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    9. java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    10. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    11. java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    12. java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    13. java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    14. java.security.AccessController.doPrivileged(Native Method)
    15. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    16. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    17. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    18. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    18 frames
  3. Xerces2-j
    DocumentBuilderImpl.parse
    1. org.apache.xerces.parsers.AbstractDOMParser.startDocument(Unknown Source)
    2. org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(Unknown Source)
    3. org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown Source)
    4. org.apache.xerces.impl.XMLVersionDetector.startDocumentParsing(Unknown Source)
    5. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    7. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    8. org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    9. org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    9 frames
  4. Java RT
    DocumentBuilder.parse
    1. javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208)
    1 frame
  5. selenium-firefox-driver
    FirefoxDriver.startClient
    1. org.openqa.selenium.firefox.internal.FileExtension.readIdFromInstallRdf(FileExtension.java:97)
    2. org.openqa.selenium.firefox.internal.FileExtension.writeTo(FileExtension.java:60)
    3. org.openqa.selenium.firefox.internal.ClasspathExtension.writeTo(ClasspathExtension.java:63)
    4. org.openqa.selenium.firefox.FirefoxProfile.installExtensions(FirefoxProfile.java:465)
    5. org.openqa.selenium.firefox.FirefoxProfile.layoutOnDisk(FirefoxProfile.java:443)
    6. org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:77)
    7. org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:244)
    7 frames
  6. Selenium
    RemoteWebDriver.<init>
    1. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
    1 frame
  7. selenium-firefox-driver
    FirefoxDriver.<init>
    1. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:188)
    2. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:183)
    3. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:179)
    3 frames
  8. au.com.mycompany
    SeleniumCommonTest.testFF
    1. au.com.mycompany.selenium.SeleniumTestParent.setUpFirefoxDriver(SeleniumTestParent.java:70)
    2. au.com.mycompany.selenium.SeleniumCommonTest.testFF(SeleniumCommonTest.java:9)
    2 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  10. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    5. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
    6. org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:47)
    7. org.junit.rules.RunRules.evaluate(RunRules.java:18)
    8. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
    9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
    10. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
    11. org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
    12. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
    13. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
    14. org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
    15. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
    16. org.junit.runners.ParentRunner.run(ParentRunner.java:300)
    16 frames
  11. JUnit4 Provider
    JUnit4TestSet.execute
    1. org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
    1 frame
  12. SureFire
    Surefire.run
    1. org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
    2. org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
    3. org.apache.maven.surefire.Surefire.run(Surefire.java:177)
    3 frames
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  14. SureFire
    SurefireBooter.main
    1. org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
    2. org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
    2 frames