On Wed, 14 Dec 2011, alee amin wrote:
I am using poi-scratchpad-3.7-20101029.jar. I am using following code to extract images from a DOCS file

Which format? .doc or .docx?

For .docx you need XWPF, for .doc you need HWPF. I've no idea what a .docs is, other than possibly a typo...


Exception >>>
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/poi/POIDocument
at java.lang.ClassLoader.defineClass1(Native Method)

You have an older copy of POI on your classpath, see the FAQ
http://poi.apache.org/faq.html#faq-N10006

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to