Ask a Question

NoClassDefFoundError: com/eviware/soapui/tools/SoapUITestCaseRunner JUnit SoapUI

SOLVED
sha09
Occasional Contributor

NoClassDefFoundError: com/eviware/soapui/tools/SoapUITestCaseRunner JUnit SoapUI

Hello,
I am getting a NoClassDefFoundError when trying to build my project.

I can run my test cases successfully, but when I try to build my project I get the following error.

Can anybody please suggest what I am missing?

I am using SoapUI 5.0.0, I have the same problem with 5.2.1.

 

I am using the codes mentioned in:

https://www.soapui.org/test-automation/junit/junit-integration.html

 

Thank you.

NoClassFoundError_SoapUITestCaseRunner.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5 REPLIES 5
nmrao
Community Hero

Include SOAPUI_HOME/bin/soapui-xxx.jar into your classpath.

Note:xxx refers to version.



Regards,
Rao.
sha09
Occasional Contributor

hello Rao,

 

I included the classpath in windows - environmental variable.

I have also added the SoapUI jar in build path -Libraries.

 

If I try to run the test cases, it runs normally. But when I do the run as -> Maven test. I get

(package com.eviware.soapui.*) errors.

 Compilation Error.JPG

Can you please suggest what is going wrong here, or did I missed something?

 

Thank you!

nmrao
Community Hero

Hmm. can't comment at the moment. Would it be possible to attach SoapUIProjectRunTest.java?


Regards,
Rao.
sha09
Occasional Contributor

I tried to manually dowload the jar files to reposittory and it seems to be working now.

Anyways thank you for your help.!

mblel
Occasional Contributor

Hello,

wich jars ans versions did you download please?

Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: