I want to check from which jar file the NodeImpl
class was loaded.
I made a short Test Case “whichJar”:
import org.apache.xerces.dom.NodeImpl
URL u = NodeImpl.class.getResource("/" + NodeImpl.class.getName().replaceAll("\\.", "/") + ".class");
System.out.println(u);
When I executed this on my Mac, in the console I got the following output:
jar:file:/Applications/Katalon%20Studio.app/Contents/Eclipse/plugins/org.codehaus.groovy_2.4.20.v202009301404-e2006-RELEASE/lib/org.apache.xerces.impl_2.11.0.jar!/org/apache/xerces/dom/NodeImpl.class
This output means that, in my case, the NodeImpl
class was loaded from the org.apache.xerces.impl_2.11.0.jar
file in the file:/Applications/Katalon%20Studio.app/Contents/Eclipse/plugins/org.codehaus.groovy_2.4.20.v202009301404-e2006-RELEASE/lib/
, which is just normal.
Please try the same Test Case whichJar
on your machine. I guess, you may find that the NodeImpl
class is loaded from a jar file located in unusual place ( such as Drivers
folder).