I can compile the file now but when I run it I get the following error
message
Internal Servlet Error:
java.lang.NoClassDefFoundError:
org/apache/poi/poifs/filesystem/DocumentInputStream
at DisplayPricingTest.service(DisplayPricingTest.java:74)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
a:797)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(H
ttpConnectionHandler.java:210)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416
)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:49
8)
at java.lang.Thread.run(Thread.java:484)
As read in a previous thread,
http://www.mail-archive.com/poi-user%40jakarta.apache.org/msg00896.html
, I am using poi-1.5 and the drive letter is included in the classpath.
Here's what I am importing
import org.apache.poi.poifs.filesystem.*;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.usermodel.HSSFFooter;
What am I doing wrong??? Thanks for all any help I can get on this.
Nikki
-----Original Message-----
From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 02, 2003 8:32 PM
To: POI Users List
Subject: Re: Trying to install POI-HSSF - cannot resolve symbol error
I suggest that the actual output you're getting would be helpful.
Michael Zalewski wrote:
>Might not be a classpath problem. Might be a JIT problem. Are you
>running with JDK 1.2? I think POI runs best in 1.3 or greater. You
>might try adding -Djava.compiler=NONE as in
>
>java -Djava.compiler=none Clfiles.Reqs.MyClass arg1 arg2
>
>Anyhow, the only thing you need is
>jakarta-poi-1.5.0-FINAL-20020506.jar.
>Don't even need the logging stuff if you don't turn on logging.
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, January 02, 2003 12:36 PM
>To: [EMAIL PROTECTED]
>Subject: Trying to install POI-HSSF - cannot resolve symbol error
>
>
>Hi,
>I downloaded the POI-HSSF library from the web site and I put the
>jakarta-poi-1.5.0-FINAL-20020506.jar , commons-logging.jar and
>log4j-core.jar into the directory where other java files are and added
>it to the Classpath D:\...\Clfiles\Reqs To my java file I added
>import org.apache.poi.poifs.filesystem.*;
>import org.apache.poi.hssf.usermodel.HSSFSheet;
>import org.apache.poi.hssf.usermodel.HSSFWorkbook;
>import org.apache.poi.hssf.usermodel.HSSFRow;
>
>I get numerous cannot resolve symbol errors.... what do I have to do to
>fix this? I apologize for the very basic question and thanks in advance
>for any help I can get.
>
>-----------------------------------------------------------------------
>
>This message is the property of Time Inc. or its affiliates. It may be
>legally privileged and/or confidential and is intended only for the use
>of the addressee(s). No addressee should forward, print, copy, or
>otherwise reproduce this message in any manner that would allow it to
>be viewed by any individual not originally listed as a recipient. If
>the reader of this message is not the intended recipient, you are
>hereby notified that any unauthorized disclosure, dissemination,
>distribution, copying or the taking of any action in reliance on the
>information herein is strictly prohibited. If you have received this
>communication in error, please immediately notify the sender and delete
>this message. Thank you.
>
>
>--
>To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>
>
>
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>