• Post Reply Bookmark Topic Watch Topic
  • New Topic

org/apache/poi/openxml4j/exceptions/InvalidFormatException using JXLS  RSS feed

 
Sachin Ns
Greenhorn
Posts: 1
Java Python Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JXLS Java library to generate excel reports. I am trying to run the sample getting started tutorial (Object collection output demo). As suggested in the tutorial http://jxls.sourceforge.net/getting_started.html I am using maven to specify the required libraries in my project build configuration file. Below is the java code used:


When i run the program in my eclipse i get the below exception:


When i run it in debug mode i see the above exception occurs when it executes the below line:


Java Version: 1.8

Environment: Windows 7

IDE: Eclipse Neon


JXLS Version: 2.4.0
 
Tim Moores
Saloon Keeper
Posts: 4036
94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A class is missing, specifically org.apache.poi.openxml4j.exceptions.InvalidFormatException. Is the jar file containing this class in the runtime classpath?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!