-
July 29th, 2005, 09:26 PM
#1
Reading Excel with Java
I am trying to read the cells of an Excel file using Java.
When I execute the attached code- I get this error:
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Default constructor cannot handle exception type BiffException thrown by implicit super constructor.Must define an explicit constructor.
Default constructor cannot handle exception type IOException thrown by implicit super constructor. Must define an explicit constructor.
The error highlights the Workbook workbook= line
I have no idea what that means. Any suggestions would be greatly accepted!!!
Difficult takes a day, Impossible takes a week~Kthln01!
-
July 31st, 2005, 06:42 PM
#2
Is jxl archive a standard archive?
Perhaps the code in the archive is messed up, or perhaps it was written some years back so it is incompatible with newer excel files. Try it with an excel 95 file or something.
The above sentences are produced by the propaganda and indoctrination of people manipulating my mind since 1987, hence, I cannot be held responsible for this post\'s content - me
www.elhalf.com
-
August 1st, 2005, 04:08 PM
#3
it turned out that I needed to try,catch
an io and biff exception.
dont really know why, but now the program runs.
thanx anyway!
Difficult takes a day, Impossible takes a week~Kthln01!
-
August 2nd, 2005, 03:50 PM
#4
it turned out that I needed to try,catch
an io and biff exception.
Lol, I thought so first but then thought that kind of error gave different compilation error output
The above sentences are produced by the propaganda and indoctrination of people manipulating my mind since 1987, hence, I cannot be held responsible for this post\'s content - me
www.elhalf.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|