reading the ExcelUtils.java file from Onlinestore project giving error

The constructor XSSFWorkbook(FileInputStream) is undefined. not reading the files,

pboyina Default Asked on February 24, 2015 in Selenium WebDriver.
Add Comment
1 Answer(s)

Hi pboyina,

The error indicates that there is no constructor in the class XSSFWorkbook class that takes a FileInputStream argument. If you are using this XSSFWorkbook class, then from its API you can see a constructor that takes a java.io.InputStream and hence you should receive no error.

The reason might be you are using an older version of the jar file which contains XSSFWorkbook class.

Regards,
Vaidy

Vaidy Doctor Answered on March 3, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.