poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <apa...@gagravarr.org>
Subject Re: Need help on POI
Date Fri, 11 Jul 2014 15:42:37 GMT
On Fri, 11 Jul 2014, Madabhattula Rajesh Kumar wrote:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/poi/hssf/usermodel/HSSFWorkbook

You haven't got the POI jar on your classpath at runtime

> Below is my pm.xml entry.
>
> <dependency>
>   <groupId>org.apache.poi</groupId>
>   <artifactId>poi</artifactId>
>   <version>3.9</version>
> </dependency>

That covers compiling your application. Deployment is different. Make sure 
all the jars you depend on end up packaged + on your classpath for runtime

Nick

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


Mime
View raw message