Ask a Question

ReadyApi Maven Plugin - ClassNotFound FileRemover

SOLVED
rd1
New Member

ReadyApi Maven Plugin - ClassNotFound FileRemover

ReadyAPI 2.8.0 TestCaseRunner Summary
-----------------------------
Time Taken: 18057ms
Total TestSuites: 1
Total TestCases: 2 (0 failed)
Total TestSteps: 6
Total Request Assertions: 2
Total Failed Assertions: 0
Total Exported Results: 0
[INFO] ReadyAPI 2.8.0 shutting down
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 53.598 s
[INFO] Finished at: [...]
[INFO] Final Memory: 44M/123M
[INFO] ------------------------------------------------------------------------
Exception in thread "Thread-20" java.lang.NoClassDefFoundError: com/smartbear/ready/util/FileRemover
	at com.smartbear.ready.util.FileRemover$ShutdownHook.startFileDeletionProcess(FileRemover.java:155)
	at com.smartbear.ready.util.FileRemover$ShutdownHook.lambda$0(FileRemover.java:149)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: com.smartbear.ready.util.FileRemover
	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
	... 3 more

Getting this ClassNotFoundException after every test

4 REPLIES 4
TanyaYatskovska
SmartBear Alumni (Retired)

Hi @rd1,

 

I recommend that you contact the ReadyAPI Support team - this question requires some investigation. You can reach out to them here: https://support.smartbear.com/message/?prod=readyapi

 
---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



Nastya_Khovrina
SmartBear Alumni (Retired)

Unfortunately, you faced a known bug in ReadyAPI with the ClassNotFound FileRemover exception.

 

There is no workaround for this bug. But, please note that this issue doesn't affect test execution - tests are run successfully.


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

I have also encountered this bug with v3.0.0. in our Jenkins Pipeline. Is there an issue I can keep my eyes on? Or another way to keep posted on the progress to fix this bug. 

 

The stacktrace is causing questions and people looking in to it eventhough we stated it's a known bug.

 

Hope to hear from you!

Nastya_Khovrina
SmartBear Alumni (Retired)

@Brandon_Blueriq,

 

Unfortunately, this issue hasn't been fixed yet. 

 

You can check if the bug was fixed in the release of ReadyAPI by checking the release notes in the link below:

https://support.smartbear.com/readyapi/docs/general-info/version-history/index.html


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: