See
In my Katalon Studio 7.9.1 on Mac, I made a Test Case script
import javax.xml.xpath.XPathConstants
import javax.xml.namespace.QName
URL u1 = XPathConstants.class.getResource("/" + XPathConstants.class.getName().replaceAll("\\.", "/") + ".class");
System.out.println(u1);
URL u2 = QName.class.getResource("/" + QName.class.getName().replaceAll("\\.", "/") + ".class");
System.out.println(u2);
println XPathConstants.NODE
When I ran this, I got the following message:
2021-03-19 23:49:37.824 INF…
This reported that the “stax-api-1.0.1.jar” bundled in the v7.9.1 caused the problem LinkageError: loader constraint violation: when resolving field “NODE” …
In the .classpath of @youssef.machkira I found a line:
<classpathentry kind="lib" path="D:/Katalon_Studio_Windows_64-8.1.0/configuration/resources/lib/stax-api-1.0.1.jar"/>
So the error occured again due to the same reason as I reported previously.
@youssef.machkira
Please try removing the stax-api-1.0.1.jar from your Katalon Studio v8.1.0.