java.lang.NoClassDefFoundError:org / openxmlformats / schemas / spreadsheetml / x2006 / main / ctextensionlist in groovy

我试图访问现有的Excel工作表,并试图创build一个新的工作表和更新工作表的一些值,在执行我得到下面的错误行“rowHeader.createCell((short)count).setCellValue(”test1“ );” Java.lang.NoClassDefFoundError:org / openxmlformats / schemas / spreadsheetml / x2006 / main / ctextensionlist执行下面的代码时出错

Foll是我使用的jar子的列表

公地编解码器1.9

共享logging-1.1.3

公网-3.3-FTP

基于JUnit 4.12,

JXL-2.6.6来源,

JXL-2.6,

log4j的-1.2.17,

MasterExcelReport,

ojdbc6,

POI-3.13-20150929,

POI-3.15-β1,

POI-例子-3.13-20150929,

POI-例子-3.15-β1,

POI-excelant-3.13-20150929,

POI-excelant-3.15-β1,

POI-OOXML-3.5 beta5的,

POI-OOXML-3.13-20150929,

POI-OOXML-3.15-β1,

POI-OOXML-架构 – 3.13-20150929,

POI-OOXML-模式-3.15-β1,

POI暂存器,3.13-20150929,

POI暂存器-3.15-β1,

PostgreSQL相关9.3-1102.jdbc41,

sqljdbc42,xmlbeans-2.6.0

import java.io.*; import java.util.*; import java.util.List; import javax.xml.parsers.*; import javax.xml.xpath.*; import javax.xml.datatype.*; import javax.xml.*; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import org.w3c.dom.*; import org.apache.poi.ss.usermodel.*; import java.util.Iterator; import java.lang.*; import org.apache.poi.xssf.usermodel.XSSFCell; import org.apache.poi.xssf.usermodel.XSSFRow; import org.apache.poi.xssf.usermodel.XSSFSheet; import org.apache.poi.xssf.usermodel.XSSFWorkbook; def fname = new Date().format("MM-dd-YYYY-HH-mm-az") def TimeStamp = context.expand('${General_Properties#Current_Date}') def destination_path_File = context.expand('${General_Properties#Destination_path}') def destination_path = destination_path_File + "_" + TimeStamp def Request = testRunner.testCase.getTestStepByName("Alliance_Ser") //def FileName = "Individual Coverages Premium Result" def Vehical = context.expand('${General_Properties#Alliance_Vehicals}') def Driver = context.expand('${General_Properties#Alliance_Drivers}') def FolderName = context.expand('${General_Properties#StateCode}') def FileName = FolderName + "_Result_Status and Total Premiums_" + Vehical + "_Vehicals_" + Driver + "_Drivers" def ResultPath = destination_path + "\\" + FolderName + "\\" + FileName + "_" + TimeStamp + ".xls" log.info ResultPath FileInputStream fileIn = new FileInputStream(new File(ResultPath)) XSSFWorkbook workbook = new XSSFWorkbook(fileIn); XSSFSheet sheet = workbook.createSheet("Coverage_Resp_report"); short count = 0; Row rowHeader = sheet.createRow((short)count); rowHeader.createCell((short) count ).setCellValue("test1"); //rowHeader.createCell((short) count ).setCellValue("Test2"); FileOutputStream fileOut =new FileOutputStream(new File(ResultPath)); //Open FileOutputStream to write updates workbook.write(fileOut); //write changes fileOut.close();