Wayne Waldrup <wayne.waldrup <at> gmail.com> writes:

> 
> I’m having trouble running the
> org.apache.poi.hssf.eventusermodel.examples.XLS2CSVmra.  It compiles fine,
> but when I run it I get:
> C:\spsfederal\APOI>java -jar FedAPOI.jar Fed.xls
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/poi/hssf/eventusermodel/HSSFListener
> ...
> My CLASSPATH looks like it should have the expected files:
> CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip;C:\Program
> ...
> Wayne
> 

Where does the classpath you mention come from?
Is it an environment variable?

My guess is that you are not using the classpath that you think.

You are running a jar I would say the classpath in use would be the one
described
in the jar's manifest file (located in META-INF/MANIFEST.MF from memory).


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

Reply via email to