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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to