On Thu, 23 Apr 2009, Richard C. Baus wrote:
I am getting the following runtime exception:

     [java] Exception in thread "AWT-EventQueue-0"
java.lang.ClassCastException: org.apache.poi.hssf.usermodel.HSSFWorkbook
cannot be cast to org.apache.poi.ss.usermodel.Workbook

Pretty sure you've got an older version of poi on your runtime classpath. Please use the example code in the FAQ on the site to verify where your HSSFWorkbook is coming from (I bet its an older poi jar version)

Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to