This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes How to read xls, xlsx and open office excel formats from java. Any pointers ? Kindly help. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "How to read xls, xlsx and open office excel formats from java. Any pointers ? Kindly help." Watch "How to read xls, xlsx and open office excel formats from java. Any pointers ? Kindly help." New topic
Author

How to read xls, xlsx and open office excel formats from java. Any pointers ? Kindly help.

Deepak S Babu
Greenhorn

Joined: Dec 03, 2009
Posts: 1
I used XSSF but not successful. Code Below.


While running (compilation was successful) getting as Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/poi/ss/usermodel/Workbook




Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
It looks like you don't have all the required POI jar files in the classpath; the missing would be named poi-3.7-20101029.jar or something like that.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Welcome to the ranch !

Next time you want to post some code, please UseCodeTags. I'll add them for you this time.


[My Blog]
All roads lead to JavaRanch
 
wood burning stoves
 
subject: How to read xls, xlsx and open office excel formats from java. Any pointers ? Kindly help.
 
Similar Threads
A little help
Java Code to export data to Excel
Read Excel values and store in to Database
Iterating through a String.
excel sheet data insertion