Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

New Exception caught while connection

 
Rakesh Keerthi
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

when i'm running the below code.



I'm getting the below error.



I use 32 bit Excel, Eclipse and Java. please let me know why this error is popping up.

In my excel i have only 2 columns and two rows as below.



Thanks
 
Paul Clapham
Sheriff
Posts: 21567
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's telling you basically that the file isn't an Excel XLS file. Perhaps it's something else, like maybe an XLSX file? Or a CSV file with the wrong file extension?
 
Rakesh Keerthi
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Paul,

But this file is Excel file of .xls format. Initially it was of .xlsx format but i made a new document with .xls format. And even then the error is thrown.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic