使用apache poi 3.6导入excel遇到的问题。
使用poi-3.6.jar
poi-ooxml-3.6.jar
poi-ooxml-schemas-3.6.jar
在导入excel 2007时当单元格内超链接内容中同时含有#$%^四个字符中的任意3个时就会在WorkbookFactory.create(fis);产生一个WorkBook对象时报java.lang.IllegalStateException: The hyperlink for cell A2 references relation rId2, but that didn't exist!
避免这个异常的方法时,1.超链接内不同时使用#$%^中任意3 个。2.取消此时的超链接
页:
[1]