I have a problem with Apache POI project.
I failed to use XSSF and HSSF in the \"Same Java Class\". Which jar should I dow
XSSF
HSSF
Use the factory instead which handles both xssf and hssf
import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.usermodel.WorkbookFactory; Workbook wb = WorkbookFactory.create(new File("file"))