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.
Joined: Apr 20, 2012
Thank you for your reply..
please tell me what are the jar files i have to add.
Joined: May 31, 2011
I don't know about Apache POI jars. Please check in the internet or download from Apache POI website.