Yep ... found it.
In our ANT build process, we copy all the files from our /lib directory
to our /WEB-INF/lib directory.
But ... it does not clean out any previously existing jars ... so they
were there when I did my build.
I knew it had to be something with our build process because the code
ran well from within Eclipse where the classpath did NOT have the old jar.
Thanks for the help!
Tom
Nick Burch wrote:
On Mon, 28 Apr 2008, Tom Holmes Jr. wrote:
And then I get this error:
java.lang.NoSuchMethodError:
org.apache.poi.hssf.usermodel.HSSFCell.getRichStringCellValue()Lorg/apache/poi/hssf/usermodel/HSSFRichTextString;
You have an older version of POI somewhere on your classpath
Try outputting in your webapp something like:
HSSFCell.class.getClassLoader().
getResource("org/apache/poi/hssf/usermodel/HSSFCell.class").getPath()
You should get back a path to your .jar file, which my guess is
actually poi 2.5.1 hiding somewhere
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]