• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

APACHE POI

 
Hussain Mohd
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

i am trying to read data from excel file using poi
but while reading a string value i used getStringCellValue() but this is depricated and in return i used HSSFRichTextString but iam facing an exception like no such methid error.

it was prompting as

org.apache.poi.hssf.usermodel.HSSFRichTextString
Note: This element neither has attached source nor attached Javadoc and hence no Javadoc could be found.

can anybody help me resolve this problem asap
[ April 12, 2008: Message edited by: Hussain Mohd ]
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

It sounds as if there may be multiple versions of the POI jar file around - a newer one that is used for compiling, and an older one that is used at runtime. Make sure you're using the same (new) jar file everywhere.
 
Prashant Langade
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am facing a strange issue in center alignment of text using poi in my project.

I am unable to set the text in center align mode. here is my code.
The code for setting text in center align mode is



Can any one help me?
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prashant Langade wrote:Hi

I am facing a strange issue in center alignment of text using poi in my project.


Prashant, please create a separate topic in the "Other Open Source Projects" forum, since your question doesn't relate to Tomcat.
 
haripriya kaligotla
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
We are tryiing to write 60k rows and 100 cols to an excel sheet but getting the below exception:

"Exception in thread "main" java.lang.OutOfMemoryError: Java heap space"

Any help to get rid of this would be appreciated. Thanks.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
haripriya,

Welcome to JavaRanch.

Please create a separate topic with the relevant details, to discuss your issue.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic