You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Rahul <ra...@gmail.com> on 2010/12/22 20:11:40 UTC

POI 3.7 noclassdeffounderror org apache poi hssf usermodel hssfworkbook

Hi 
I have a unique problem here, i am using POI 3.7 latest stable version and
it is working fine with regular java class file and command line execution
but when i add it to my web application it gives me an error
noclassfounderror for hssfworkbook


I have red all the forum which says that may be classpath is incomplete but
it is working fine with 

<classpathentry kind="lib" path="tools/common/commons-logging-1.1.jar"/>
<classpathentry kind="lib"
path="tools/common/geronimo-stax-api_1.0_spec-1.0.jar"/>
<classpathentry kind="lib" path="tools/common/log4j-1.2.13.jar"/>
<classpathentry kind="lib" path="tools/common/poi-3.7-20101029.jar"/>
<classpathentry kind="lib" path="tools/common/poi-ooxml-3.7-20101029.jar"/>
<classpathentry kind="lib"
path="tools/common/poi-ooxml-schemas-3.7-20101029.jar"/>
<classpathentry kind="lib" path="tools/common/xmlbeans-2.3.0.jar"/>
<classpathentry kind="lib" path="tools/common/xercesImpl.jar"/>
<classpathentry kind="lib" path="tools/common/dom4j-1.6.1.jar"/>
<classpathentry kind="lib" path="tools/common/junit-3.8.1.jar"/>

Please let me know if missing some thing here or else what could be the
possible problem


Regards
Rahul



-- 
View this message in context: http://apache-poi.1045710.n5.nabble.com/POI-3-7-noclassdeffounderror-org-apache-poi-hssf-usermodel-hssfworkbook-tp3315524p3315524.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


RE: POI 3.7 noclassdeffounderror org apache poi hssf usermodel hssfworkbook

Posted by Saad Shakil <ss...@rim.com>.
Rahul,

I had a similar problem, not with hssf, but with the xssfworkbook, on the desktop.  I hadn't put jars from lib and ooxml-lib on the cp, and the culprit was xmlbeans jar.  What server? How is your app bundled and loaded?  All poi dependencies should also be on a reachable cp, depending on where poi sits in the web deployable.

-saad

-----Original Message-----
From: Rahul [mailto:rahulchaturvedie@gmail.com] 
Sent: Wednesday, December 22, 2010 2:12 PM
To: user@poi.apache.org
Subject: POI 3.7 noclassdeffounderror org apache poi hssf usermodel hssfworkbook


Hi 
I have a unique problem here, i am using POI 3.7 latest stable version and
it is working fine with regular java class file and command line execution
but when i add it to my web application it gives me an error
noclassfounderror for hssfworkbook


I have red all the forum which says that may be classpath is incomplete but
it is working fine with 

<classpathentry kind="lib" path="tools/common/commons-logging-1.1.jar"/>
<classpathentry kind="lib"
path="tools/common/geronimo-stax-api_1.0_spec-1.0.jar"/>
<classpathentry kind="lib" path="tools/common/log4j-1.2.13.jar"/>
<classpathentry kind="lib" path="tools/common/poi-3.7-20101029.jar"/>
<classpathentry kind="lib" path="tools/common/poi-ooxml-3.7-20101029.jar"/>
<classpathentry kind="lib"
path="tools/common/poi-ooxml-schemas-3.7-20101029.jar"/>
<classpathentry kind="lib" path="tools/common/xmlbeans-2.3.0.jar"/>
<classpathentry kind="lib" path="tools/common/xercesImpl.jar"/>
<classpathentry kind="lib" path="tools/common/dom4j-1.6.1.jar"/>
<classpathentry kind="lib" path="tools/common/junit-3.8.1.jar"/>

Please let me know if missing some thing here or else what could be the
possible problem


Regards
Rahul



-- 
View this message in context: http://apache-poi.1045710.n5.nabble.com/POI-3-7-noclassdeffounderror-org-apache-poi-hssf-usermodel-hssfworkbook-tp3315524p3315524.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


---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

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