Re: Trying to edit a spreadsheet using XSSF

2010-04-21 Thread David Fisher
Hi Ramon, For OOXML you will need more jar files. See the maven artifacts listed towards the bottom of http://poi.apache.org/overview.html Regards, Dave On Apr 21, 2010, at 4:40 PM, Ramon F Herrera wrote: > > This is the error message: > >

Re: Trying to edit a spreadsheet using XSSF

2010-04-21 Thread Ramon F Herrera
This is the error message: -- Exception in thread "main" java.lang.NoClassDefFoundError: org/openxmlformats/schemas/spreadsheetml/x2006/main/CTDxfs$1 at org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxfs.(Unknown Source)

Re: Trying to edit a spreadsheet using XSSF

2010-04-21 Thread Ramon F Herrera
On 4/21/2010 6:27 PM, Ramon F Herrera wrote: Hello all, I am using the example provided with the POI distribution (ReadWriteWorkBook.java, below) as a reference. It works fine, but when I try to port it to XSSF, the final write() statement fails. The file is created, but seems to be corrupted.

Trying to edit a spreadsheet using XSSF

2010-04-21 Thread Ramon F Herrera
Hello all, I am using the example provided with the POI distribution (ReadWriteWorkBook.java, below) as a reference. It works fine, but when I try to port it to XSSF, the final write() statement fails. The file is created, but seems to be corrupted. In my next post, I will included the prog