Forum Discussion

Ivan_Trampedach's avatar
Ivan_Trampedach
Contributor
7 years ago
Solved

Getting java.lang.NoClassDefFoundError when starting ReadyAPI 2.0.2

After installing ReadyAPI for the first time on my new Win10 pc I get this error when starting it up.

 

In my google search, I have not found any solotion to this so any help would be nice, Thanks in advance.

 

java.lang.NoClassDefFoundError: com/mercury/ftjadin/hooks/interfaces/WToolkitHookQTJA
	at javafx.embed.swing.JFXPanel.<init>(JFXPanel.java:246)
	at com.smartbear.ready.ui.ReadyApiMain.<clinit>(ReadyApiMain.java:56)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
	at com.exe4j.runtime.WinLauncher.main(Unknown Source)
	at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.mercury.ftjadin.hooks.interfaces.WToolkitHookQTJA
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 9 more
  • Nope, only a standart installation of version 2.1.0 Ready API.

    Because the word Mercury are in the error description, I had an idea that it was HP UFT that made som noice.

    I have uninstalled that tool, and reinstall ReadyAPI and now it is working.

     

    I have no plan working with HP UFT at the moment, so that would work for now.

2 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    Have you copied any external libraries under READYAPI_HOME/bin/ext directory for the referencing scripts? If so, restarted the tool?
    • Ivan_Trampedach's avatar
      Ivan_Trampedach
      Contributor

      Nope, only a standart installation of version 2.1.0 Ready API.

      Because the word Mercury are in the error description, I had an idea that it was HP UFT that made som noice.

      I have uninstalled that tool, and reinstall ReadyAPI and now it is working.

       

      I have no plan working with HP UFT at the moment, so that would work for now.