poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MPras <4ma...@gmail.com>
Subject NoSuchMethodError
Date Wed, 10 Mar 2010 20:43:45 GMT

I have downloaded POI 3.6 and included the following Jar's in my classpath:
poi-3.6-20091214.jar
poi-contrib-3.6-20091214.jar
poi-examples-3.6-20091214.jar
poi-ooxml-3.6-20091214.jar
poi-ooxml-schemas-3.6-20091214.jar
poi-scratchpad-3.6-20091214.jar
dom4j-1.6.1.jar
geronimo-stax-api_1.0_spec-1.0.jar
xmlbeans-2.3.0.jar

I am encountering the following exception when trying to read an xslx file. 
Could someone help me understand why? Thank you.

java.lang.NoSuchMethodError:
org.apache.poi.util.IOUtils.copy(Ljava/io/InputStream;Ljava/io/OutputStream;)V
	at org.apache.poi.util.PackageHelper.clone(PackageHelper.java:83)
	at org.apache.poi.util.PackageHelper.clone(PackageHelper.java:44)
	at org.apache.poi.POIXMLDocument.ensureWriteAccess(POIXMLDocument.java:185)
	at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:148)
	at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:63)
	at we.model.ParseData.processXLS(ParseData.java:685)
	at we.model.ParseData.loadExpData(ParseData.java:388)
	at we.view.DoUploadAction.execute(DoUploadAction.java:79)
	at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
	at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0)
].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
	at
oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
	at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0)
].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
	at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0)
].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
	at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0)
].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
	at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0)
].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
	at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0)
].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
	at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0)
].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
	at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0)
].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
	at
oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
	at
oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
	at
oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
	at
oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
	at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0)
].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
	at java.lang.Thread.run(Thread.java:595)
-- 
View this message in context: http://old.nabble.com/NoSuchMethodError-tp27855514p27855514.html
Sent from the POI - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message