Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem while creating excel file......

 
Nitin Jawarkar
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello all,

I have create an Java code which take out data from database and generate an excel file, for this i m importing one package from apache
package org.apache.poi.hssf.usermodel.HSSFWorkbook; i have set all jar files for this but still i m getting an error HSSFWorkbook can not resolve sysmbol, so anybody have idea about this package how to use it foe creating excel file.

Thanx.
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have you made certain the package is available to the application both at compile time and at runtime?
 
Nitin Jawarkar
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello ,

Yes i have made the package also and include jar file in classpath also now my java module which takes data from database, create excel file of query's output, mail it and take backup also of excel file, all these are working perfectly.

Thanx
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic