private void produceExcel(String sheetName,String[]titles,List resultList
,String[]mapKeys,String[]mapKeyTypes,String excelName,String QDFalg
,String txtSt,String city) throws IOException {
try {
Workbook wb = new XSSFWorkbook();
Sheet sheet = createSheet(wb,sheetName);//创建表单
buileHeadLine(sheet,titles,wb);//创建首行标题
buildCell(sheet,resultList,wb,mapKeys,mapKeyTypes);//根据数据List创建内容单元格
运行到Workbook wb = new XSSFWorkbook行是debug进去没报任何错
进到了MultiActionController.class
用了以下几个包
poi-3.8-beta5-20111217.jar
poi-ooxml-3.8-beta5-20111217.jar
xmlbeans-2.3.0.jar
poi-ooxml-schemas-3.8-beta5-20111217.jar
dom4j-1.6.1.jar