0

I am reading csv file using java library poi version 2 but I am getting error

"Invalid header signature; read 1688935826934608, expected -2226271756974174256"
Rachel Gallen
  • 27,943
  • 21
  • 72
  • 81
NIKUNJ SANGHADIA
  • 342
  • 4
  • 15
  • 1
    check this it might helpful http://stackoverflow.com/questions/3677925/invalid-header-signature-ioexception-with-apache-poi-on-excel-document – Pragnani Mar 12 '13 at 11:04

2 Answers2

1

I got the fix. It was simple comma separation buffered reading. Thanx

NIKUNJ SANGHADIA
  • 342
  • 4
  • 15
0

one of the reason for this error : you must save the file as .csv instead of .xls if you are reading a CSV file

Bhushan
  • 6,151
  • 13
  • 58
  • 91