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.