Forum Discussion

PrathapR's avatar
PrathapR
Frequent Contributor
5 months ago

Not able to Load data from Excel java.lang.NoClassDefFoundError

Hi All,

Does anyone facing same issue as below? not sure it's something to do with Ready API or something else.

When I'm trying to access data from Excel using "DataSource" step, getting below error. Mainly running whole testcase (Sometimes it's working fine when run "DataSource" step alone before running whole testcase). Once it's started throwing below error, even if run "DataSource" step alone as well same error.

Problem Observed in Ready API Versions: 3.53.0 and 3.54.0

Error:

 ERROR: Exception during Test Execution
   java.lang.NoClassDefFoundError: org/apache/commons/io/file/attribute/FileTimes
       
at org.apache.commons.compress.archivers.zip.X000A_NTFS.fileTimeToZip(X000A_NTFS.java:91)
atorg.apache.commons.compress.archivers.zip.X000A_NTFS.setModifyFileTime(X000A_NTFS.java:424)
atorg.apache.commons.compress.archivers.zip.ZipArchiveEntry.addNTFSTimestamp(ZipArchiveEntry.java:530)

Any help appreciated. TIA.

 

  • PrathapR's avatar
    PrathapR
    Frequent Contributor

    Update:::

    When I downgraded to ReadyAPI 3.47.0 it's working fine, Hope SmartBrear team will look at it.

  • Bill77's avatar
    Bill77
    Occasional Visitor

    Has anyone heard if SmartBear is going to fix this?  I am seeing the same issue since upgrading to 3.53.  

  • PrathapR's avatar
    PrathapR
    Frequent Contributor

    Bill77 

    No, they didn't. SmartBear saying they are not able to reproduce the issue. Even when customers facing and reporting the issue.