https://issues.apache.org/bugzilla/show_bug.cgi?id=47074
Summary: java.lang.NoSuchMethodError:
org.apache.poi.POIDocument.<init>(
Product: POI
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: POIFS
AssignedTo: [email protected]
ReportedBy: [email protected]
Hi Iam trying to read excel file as per the program (downloaded from internet,
attached for reference here) But i am getting below error:
got 'SummaryInformation' event for path '\'.
got 'DocumentSummaryInformation' event for path '\'.
got 'Workbook' event for path '\'.
trying DirectoryNode 'Root Entry'
Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.poi.POIDocument.<init>(Lorg/apache/poi/poifs/filesystem/DirectoryNode;Lorg/apache/poi/poifs/filesystem/POIFSFileSystem;)V
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:225)
at
com.lehman.pcs.bcu.util.POIFSExtract$MyPOIFSReaderListener.processPOIFSReaderEvent(POIFSExtract.java:53)
at
org.apache.poi.poifs.eventfilesystem.POIFSReader.processProperties(POIFSReader.java:261)
at
org.apache.poi.poifs.eventfilesystem.POIFSReader.read(POIFSReader.java:97)
at com.lehman.pcs.bcu.util.POIFSExtract.main(POIFSExtract.java:29)
I am using jars of version as below :
poi-3.1-FINAL.jar
poi-scratchpad-3.0.1-FINAL.jar
poi-contrib-3.1-FINAL.jar
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]