Forum Discussion

bzhechkov's avatar
New Contributor
6 years ago

java.lang.RuntimeException: Guice error

Dear team,

I've upgraded from Ready API 1.9.0 to Ready API 2.4.0 and it is working properly with maven locally. However when I successfully installed Ready API 2.4.0 on jenkins node (server without GUI), using "./ -c" command I started getting errors when I try to run the tests via jenkins:

I can confirm that the tests are working in jenkins when I run it with 1.9.0 version, but not with 2.4.0

Here is the error message:


10:25:06 [ERROR] java.lang.RuntimeException: Guice error
10:25:06 [INFO] ------------------------------------------------------------------------
10:25:06 [INFO] ------------------------------------------------------------------------
10:25:06 [INFO] Total time: 6.370 s
10:25:06 [INFO] Finished at: 2018-08-24T10:25:03+00:00
10:25:06 [INFO] Final Memory: 31M/342M
10:25:06 [INFO] ------------------------------------------------------------------------
10:25:06 [ERROR] Failed to execute goal com.smartbear:ready-api-maven-plugin:2.4.0:test (default) on project uo-api-ready-api-tests: ReadyAPI Test(s) failed: ReadyAPI Test(s) failed:
10:25:06 [ERROR] Guice error
10:25:06 [ERROR] -> [Help 1]
10:25:06 [ERROR] 
10:25:06 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
10:25:06 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
10:25:06 [ERROR] 
10:25:06 [ERROR] For more information about the errors and possible solutions, please read the following articles:
10:25:06 [ERROR] [Help 1]
10:25:06 Exception in thread "Thread-16" java.lang.NoClassDefFoundError: com/smartbear/ready/util/FileRemover
10:25:06 	at com.smartbear.ready.util.FileRemover$ShutdownHook.startFileDeletionProcess(
10:25:06 	at com.smartbear.ready.util.FileRemover$ShutdownHook.lambda$0(
10:25:06 	at com.smartbear.ready.util.FileRemover$ShutdownHook$$Lambda$9/ Source)
10:25:06 	at
10:25:06 Caused by: java.lang.ClassNotFoundException: com.smartbear.ready.util.FileRemover
10:25:06 	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(
10:25:06 	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(
10:25:06 	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(
10:25:06 	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(
10:25:06 	... 4 more
10:25:06 Build step 'Invoke top-level Maven targets' marked build as failure


2 Replies

  • Hi bzhechkov,


    Please provide us with the following additional info:

    1. The default java version, which is used on your Jenkins node (run "java -version" in the terminal).

    2. The full Maven output (save it to a text file and attach).



    • bzhechkov's avatar
      New Contributor


      I've update the Java version and now I am able to run the tests. However now I am getting ERRORS with TestSuiteRunListener:

      [ERROR] Error in TestSuiteRunListener
          at (
          at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner$1.notifyListener (
          at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.notifyListeners (
          at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.notifyAfterRun (
          at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.internalFinally (
          at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.internalFinally (
          at (
          at java.util.concurrent.Executors$ (
          at (
          at java.util.concurrent.ThreadPoolExecutor.runWorker (
          at java.util.concurrent.ThreadPoolExecutor$ (
          at (
      13:20:38,041 INFO  [log]
      13:20:38,049 INFO  [log] +++++++++ Active environment is setup to Dev or Testing. IDS-MockService is not needed and it wont't start!
      13:20:38,133 INFO  [log] Check MockService is running: null
      13:20:38,133 INFO  [log] Attempting to stop IDS-MockService...
      13:20:38,134 INFO  [log] +++++++++ Failed to stop IDS-MockService service!
      [ERROR] Error in TestSuiteRunListener

      Any ideas what can cause this?