poi3.8导出excel new XSSFWorkbook(); 时有问题

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

少导包了吧
commons-beanutils-1.8.0.jar
commons-collections-3.2.1.jar
commons-lang-2.4.jar
commons-logging.jar
dom4j-1.6.1.jar
ezmorph-1.0.6.jar
poi-3.8-20120326.jar
poi-ooxml-3.8-20120326.jar
poi-ooxml-schemas-3.8-20120326.jar
xmlbeans-2.3.0.jar

commons-collections
xmlbeans
poi-ooxml
poi-ooxml-schemas

创建2007 必须这几个包 刚刚写错了

怎么用的是bate版本的。。官网下载最新的吧
实在不行换个方案jxl.

commons-beanutils
xmlbeans
poi-ooxml
poi-ooxml-schemas

创建2007 必须这几个包