ClassNotFoundException on trying to read excel using XLS_Reader class | Selenium Forum
J
joseph thakur Posted on 21/07/2019

Observation: I am getting a ClassNotFoundException when I try to read data from the excel file using the class XLS_Reader created by you. I have added all the POI related jars.

Attached are the screenshots which will help you. Please help me get  this issue fixed as this is blocking my test execution.


A
Ashish Thakur Replied on 22/07/2019

J
joseph thakur Replied on 23/07/2019

On using the jars provide by you , I see many more errors. What can be the reason?


A
Ashish Thakur Replied on 24/07/2019

Please export the project in a compressed zip file and share it with us.


J
joseph thakur Replied on 24/07/2019

Attached is the zip file containing the project. The jars added to this project are the jars as mentioned above by you.


A
Ashish Thakur Replied on 25/07/2019

I can notice that your XLS_Reader is based on the latest version of POI.

I would suggest you add all the jars supplied in the zip file you downloaded including the ones found in subdirectories as well.

Please have a look in the screenshot for the list of jars you need to add for dealing with XLS_Reader.

Responsive image

Make sure that all 19 jars are imported.


J
joseph thakur Replied on 25/07/2019

Thank you, its working now.