Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

POI: problem reading Excel File  RSS feed

 
Roopesh Rana
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to read excel file through java code.
My code is :



But I am getting exception

Exception is :

 
Tim Moores
Saloon Keeper
Posts: 3512
77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which jar files do you have in the classpath? POI consists of at least 4 jar files, and possibly some more, depending on which features you use.
 
Norm Radder
Rancher
Posts: 1733
22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/poi/ss/usermodel/DataValidationHelper

Make sure the jar file with the class named in the error message is on the classpath.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!