I ran the following code inside of the error catch statement to figure out which class it is pulling from:
ClassLoader classloader =
org.apache.poi.poifs.filesystem.POIFSFileSystem.class.getClassLoader();
URL res =
classloader.getResource("org/apache/poi/poifs/filesystem/POIFSFileSystem.cla
ss");
String path = res.getPath();
logFile.write(path);
The local machines call the poi-3.5, but the server calls an older version
of Jakarta-poi. So now it's down to going through all of the configuration
files on the server and changing the pointers from the old Jakarta POI to
the new Apache POI. Thanks for the help!
Bob O'Daniel
-----Original Message-----
From: Nick Burch [mailto:[email protected]]
Sent: Wednesday, January 13, 2010 8:17 AM
To: POI Users List
Subject: Re: NoSuchMethodError with slide rendering
On Wed, 13 Jan 2010, ODaniel, Robert L CTR USAF AFMC 72 ABW/SCPT wrote:
> When trying to render the slide to the Graphics2D object, the following
> errors are received:
> java.lang.NoSuchMethodError:
>
org.apache.poi.ddf.EscherContainerRecord.getChildIterator()Ljava/util/Iterat
> or;
> at org.apache.poi.hslf.model.Sheet.getBackground(Sheet.java:356)
> at org.apache.poi.hslf.model.Slide.draw(Slide.java:422)
> at tsc.util.Extractor.extractPptText(Extractor.java:1473)
See http://poi.apache.org/faq.html#faq-N10019
You've almost certainly got an older version of POI on your classpath
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
smime.p7s
Description: S/MIME cryptographic signature
