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!!!