目前,我正在努力将DataFormat设置为特定的行。 这就是我的Excel工作表的外观。我有这4列。第1列应采用DataFormat编号,第2列和第3列应采用DataFormat日期,第4列可以 ? SimpleDateFormat format = new SimpleDateFormat(); org.apache.poi.ss.usermodel.DataFormat
<init>(Cur.java:495) at org.apache.xmlbeans.impl.store.Locale.getLocale(Locale.java:235)
at org.apache.xmlbeans.impl.store.Locale.newInstanceorg.openxmlformats.sch
Exception in thread "main" java.lang.NoSuchMethodError: 'org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STXstring org.openxmlformats.schemas.spreadsheetml.x2006.main.CTRst.xgetT()'
at org.apache.poi.xssf.usermodel.XSSFRichTextString<init
我尝试使用Apache库读取excel文件,并得到以下错误:
org.apache.poi.xssf.usermodel.XSSFCell.typeMismatch(XSSFCell.java:845) at org.apache.poi.xssf.usermodel.XSSFCell.getRichStringCellValue(XSSFCell.java:294) at org.apa