public static void main(String[] args) {
String path = "L:\\下载文件\\6602-0002-0001-管理费用凭证测试 (1).xlsx";
try {
Workbook workbook = new Workbook();
workbook.open(path);
IWorksheet worksheet = workbook.getWorksheets().get("封面");
System.out.println();
} catch (Exception e) {
e.printStackTrace();
}
}
09:33:17.009 DEBUG [c.g.d.e.bv] -1 Get instance of MypdfGraphics(New): com.grapecity.documents.excel.bv@7a527389
09:33:17.491 DEBUG [c.g.d.e.p.c.J] -1 java.lang.IllegalArgumentException: 无效的字符。f
09:33:17.492 DEBUG [c.g.d.e.p.c.J] -1 java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: 无效的字符。f
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: 无效的字符。f
at com.grapecity.documents.excel.p.c.J.a(Unknown Source) ~[gcexcel-7.1.2.jar:?]
at com.grapecity.documents.excel.p.c.J.a(Unknown Source) [gcexcel-7.1.2.jar:?]
at com.grapecity.documents.excel.Workbook.a(Unknown Source) [gcexcel-7.1.2.jar:?]
at com.grapecity.documents.excel.Workbook.a(Unknown Source) [gcexcel-7.1.2.jar:?]
at com.grapecity.documents.excel.Workbook.open(Unknown Source) [gcexcel-7.1.2.jar:?]
at com.grapecity.documents.excel.Workbook.open(Unknown Source) [gcexcel-7.1.2.jar:?]
at cn.com.bdo.dgCenter.service.GcExcelService.main(GcExcelService.java:3393) [classes/:?]
Caused by: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: 无效的字符。f
at com.grapecity.documents.excel.p.c.ay.a(Unknown Source) ~[gcexcel-7.1.2.jar:?]
at com.grapecity.documents.excel.p.c.av.a(Unknown Source) ~[gcexcel-7.1.2.jar:?]
at com.grapecity.documents.excel.p.c.av.a(Unknown Source) ~[gcexcel-7.1.2.jar:?]
at com.grapecity.documents.excel.p.c.J.a(Unknown Source) ~[gcexcel-7.1.2.jar:?]
... 7 more
|
|