It's all about the answers!

Ask a question

RQM Selenium Integration Error


sreenath v (78680) | asked Feb 25 '20, 6:00 a.m.
edited Feb 25 '20, 6:03 a.m.
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



permanent link
Matthieu Leroux (6571614) | answered Feb 25 '20, 7:40 a.m.
JAZZ DEVELOPER
Hello,

did you check the forum for existing posts?
this error was reported in the following post:


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


Register or to post 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.