cancel
Showing results for 
Search instead for 
Did you mean: 

Receiving java.lang.NoClassDefFoundError using SoapUI NG PRO

SOLVED
New Contributor

Receiving java.lang.NoClassDefFoundError using SoapUI NG PRO

Hi,

 

I'm trying to run few scripts on SOAPUI NG PRO and getting 'java.lang.NoClassDefFoundError' at line 99. Code at line 99 as follows:

        Cell cell = row.createCell(j);
                                  if (j==0)
                                  {
                                                cell.setCellValue(testcaseName); - this is line 99
                                  }

Line 99 is writing 'testcaseName' to the output excel file.

 

If I run the same script using SOAPUI Pro 5.1.0 then its running fine without any errors.

 

Can someone please let me know how to correct this error?

 

1 ACCEPTED SOLUTION

Accepted Solutions
New Contributor

Re: Receiving java.lang.NoClassDefFoundError using SoapUI NG PRO

I found the issue. XLSX files are currently not supported by SOAPUI NG PRO and hence I was receiving the error. Once I change to XLS file the scripts are working fine.

 

Reference:

https://www.soapui.org/data-driven-tests/datasink-teststep.html

Note: XLSX files are not currently supported.

2 REPLIES 2
Community Hero

Re: Receiving java.lang.NoClassDefFoundError using SoapUI NG PRO

Would you mind providing full stacktrace?


Regards,
Rao.
New Contributor

Re: Receiving java.lang.NoClassDefFoundError using SoapUI NG PRO

I found the issue. XLSX files are currently not supported by SOAPUI NG PRO and hence I was receiving the error. Once I change to XLS file the scripts are working fine.

 

Reference:

https://www.soapui.org/data-driven-tests/datasink-teststep.html

Note: XLSX files are not currently supported.

New Here?
Join us and watch the welcome video:
Top Kudoed Authors