Ok, i found in this website:
http://mvnrepository.com/artifact/org.apache.poi/ooxml-schemas/1.1
http://mvnrepository.com/artifact/org.apache.poi/ooxml-schemas/1.1 

But, i have the same error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xmlbeans/XmlException
        at Extraction.main(Extraction.java:148)
Caused by: java.lang.ClassNotFoundException:
org.apache.xmlbeans.XmlException
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 1 more

caused by this line (in bold):

InputStream ist = new FileInputStream("Projection_2012_Eq2.xlsx"); //pour
ouvrir les fichiers xlsx de 2007
                                *XSSFWorkbook wb2 = new XSSFWorkbook(ist);*     
                        XSSFSheet sheet2 =
wb2.getSheetAt(0);
                                nbfeuille= wb2.getNumberOfSheets();//retourne 
le nombre de feuille
renseigné
                                
                                XSSFRow row2 = null;
                                XSSFCell cell2 = null;
                                
                                
                                String prenom_proj;
                                Collator usCollator;


I don't understand why... 

--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/java-lang-NoClassDefFoundError-org-apache-xmlbeans-XmlException-tp5501612p5502690.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@poi.apache.org
For additional commands, e-mail: user-h...@poi.apache.org

Reply via email to