Tarun_Kumbnani
2 months agoNew Member
Ready Api Tests hitting 'NoClassDefFoundError' while running in docker
Hi,
Tests work locally, however, they fail when running on docker container.
Currently building the docker image from .yaml file
- name: Build ReadyAPI Docker Image
run: docker build -t readyapi-zowe-testrunner:latest .
Currently using groovy script where I am trying to open the workbook using below line of code
Workbook workbook = WorkbookFactory.create(file)
Error :
java.lang.NoClassDefFoundError: org/apache/commons/io/build/AbstractStreamBuilder at below line while I am working with excel file
Thank you for help. Perhaps we need a docker image which has common-io java library installed.