------解决方案-------------------- 2003版的Excel: InputStream is = new FileInputStream(path); POIFSFileSystem os = new POIFSFileSystem (inStream); HSSFWorkbook wb = new HSSFWorkbook(os); // 读取excel工作簿 2007版: InputStream is = new FileInputStream(path); XSSFWorkbook wb = new XSSFWorkbook(inStream); // 读取excel工作簿