On Wed, 17 May 2006, Gascoigne Thomas wrote:
I'm just trying to start testing some poi functionality but am falling
at the first hurdle:

java.lang.NoSuchMethodError:
org.apache.poi.hwpf.model.TextPiece.getCP()I

I would suspect that you have some sort of mis-match between your POI jar files. Make sure you have the latest ones, and only the latest ones on your classpath

Would also appreciate some example code that shows the basics of reading in a Word document and outputting it as a (text) string.

Just use this:
http://jakarta.apache.org/poi/apidocs/org/apache/poi/hwpf/extractor/WordExtractor.html

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to