Reputation: 11
I am getting this compilation error
HSSFWorkbook cannot be resolved to a type
when i am using this class in Selenium webdriver.I have added the respective jar, poi 3.9 jar, but still unable to resolve this compilation error.
Upvotes: 1
Views: 12936
Reputation: 93
Look for "poi-3.17.jar"!!!
Problem solved and errors disappeared.
Hope this answer your question!!!
Upvotes: 2
Reputation: 2938
Hi please update your apache poi to The latest stable release is Apache POI 3.14 from https://poi.apache.org/download.html and then import the Apache POI jars form
Upvotes: 2
Reputation: 3235
The message indicates that the class could not be found on the classpath of your application. Did you make sure that the POI jar is added?
Upvotes: 0