yeah that's it, thanks for your respond!

> Looks like you need to include the jar's in the ooxml-lib directory in 
> your project.
> 
> Sam Gibson
> 
> [email protected] wrote:
> > I read in the mailing list that POI 3.5 beta 5 should be able to read .xlsx 
> > files.
> > I wrote following program:
> > 
> > 
> > package dataprocessor;
> > 
> > import java.io.IOException;
> > import java.util.logging.Level;
> > import java.util.logging.Logger;
> > import org.apache.poi.xssf.usermodel.XSSFSheet;
> > import org.apache.poi.xssf.usermodel.XSSFWorkbook;
> > 
> > /**
> >  *
> >  * @author m
> >  */
> > public class Main {
> > 
> >     
> >     public static void main(String[] args) {
> > 
> >         XSSFWorkbook workbook = null;
> > 
> >         try {
> >             /*read Excel file*/
> >             workbook = new XSSFWorkbook("test.xlsx");
> >         } catch (IOException ex) {
> >             Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, 
> > ex);
> >         }
> > 
> >  
> >   
> >         System.out.println(workbook.getSheetAt(0).getSheetName());
> > 
> > 
> > 
> >     }
> > }
> > 
> > 
> > stack trace:
> > 
> > Exception in thread "main" java.lang.NoClassDefFoundError: 
> > org/apache/xmlbeans/XmlException
> >         at dataprocessor.Main.main(Main.java:28)
> > Java Result: 1
> > 
> > 
> > 
> > I tried poi3.5 beta 5 and also build the 3.5 beta 7 tag from svn but both 
> > didn't work. Is it just not supported yet or am I doing anything wrong?
> > 
> > Cheer Marco
> > 
> > ____________________________________________________________
> > Text: GRATIS fᅵr alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
> > Jetzt freischalten unter http://movieflat.web.de
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 


____________________________________________________________
Text: GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de


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

Reply via email to