RQM Selenium Integration Error
Hi,
I am getting the below eror while integrating selenium with RQM . i have added in selenium.properties file the jar files used mainly i copied the refernced jar files under selenium/lib and selenium folder.Do i need to copy the System jar files ? . I have used / slash while editing the system.properties.
java.lang.NoClassDefFoundError: org/junit/runner/notification/RunListener at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.privateGetMethodRecursive(Unknown Source) at java.lang.Class.getMethod0(Unknown Source) at java.lang.Class.getMethod(Unknown Source) at sun.launcher.LauncherHelper.validateMainClass(Unknown Source) at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.junit.runner.notification.RunListener at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 7 more Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" |
One answer
Hello,
did you check the forum for existing posts?
this error was reported in the following post:
https://jazz.net/forum/questions/226918/class-not-found-when-run-test-from-rqmselenium-junit-adapter
please update if that does not help.
Thanks
Matthieu
Comments
sreenath v
commented Feb 25 '20, 9:25 p.m.
So here in class path they are not providing the exact jar files instead of that till the folder level!!! |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.