I am using eclipse juno.. when i opening javascript file in eclipse it returns the error
java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
how can i overcome this..
I had an issue when I tried using version 2.0.2
, but found that when I reverted back to version 1.4.01
and everything worked again.
If you're using Maven:
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.4.01</version>
</dependency>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With