Re: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException

2014-04-10 Thread Sun Kefan
} > } > } > > This is my code.And the jar file which i have used in this code is > 1...dom4j-1.6.1.jar > 2...ooxml-schemas-1.1.jar > 3...poi-3.6-sources.jar > 4...poi-3.6.jar > 5...poi-ooxml-3.5-FINAL.j

Re: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException

2014-04-10 Thread tarun
ile which i have used in this code is 1...dom4j-1.6.1.jar 2...ooxml-schemas-1.1.jar 3...poi-3.6-sources.jar 4...poi-3.6.jar 5...poi-ooxml-3.5-FINAL.jar 6...xmlbeans-2.3.0.jar.Zip But I am geeting the following error Exception in thread "main" java.lang.NoClassDefFoundError: org/apac

Re: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException

2014-02-05 Thread Dominik Stadler
Hi, It depends on how you specify the jar files (scripts, IDE project config, ...), but wherever you specify the poi-*.jar, you should also define the xmlbeans-2.3.0.jar and the dom4j-1.6.1.jar file. Thanks... Dominik. On Wed, Feb 5, 2014 at 8:06 AM, kwokchunw...@gmail.com wrote: > i also havin

RE: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException

2014-02-05 Thread Allison, Timothy B.
http://poi.apache.org/faq.html#faq-N10025 might do the trick. -Original Message- From: kwokchunw...@gmail.com [mailto:kwokchunw...@gmail.com] Sent: Wednesday, February 05, 2014 2:06 AM To: user@poi.apache.org Subject: Re: java.lang.NoClassDefFoundError: org/apache/xmlbeans

Re: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException

2014-02-05 Thread kwokchunw...@gmail.com
i also having this error, can you teach how to add the xmlBeans.jar to classpath? this classpath should be set on my application project? -- View this message in context: http://apache-poi.1045710.n5.nabble.com/java-lang-NoClassDefFoundError-org-apache-xmlbeans-XmlException-tp5501612p5714846.ht

Re: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException

2013-02-04 Thread francisrobertm
Yes, i didn't have in my classpath : xmlbeans-2.3.0.jar. So, it's good. hi where should i need to have this xmlbeans-2.3.0.jar. please help me -- View this message in context: http://apache-poi.1045710.n5.nabble.com/java-lang-NoClassDefFoundError-org-apache-xmlbeans-XmlException-tp5501

Re: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException

2012-02-23 Thread mouss4rs
Yes, i didn't have in my classpath : xmlbeans-2.3.0.jar. So, it's good. Thank you very much Nick! The code to read and write a .xlsx file it's: import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputSt

Re: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException

2012-02-23 Thread Nick Burch
On Wed, 22 Feb 2012, mouss4rs wrote: No, i have ooxml-schemas-1.1.jar and all .jar of poi in my path. The exception you're getting is that xmlbeans is missing. Make sure that's present and readable Nick - To unsubscribe, e-

Re: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException

2012-02-22 Thread mouss4rs
I read in the quickguide this: InputStream inp = new FileInputStream("workbook.xlsx"); Workbook wb = WorkbookFactory.create(inp); Sheet sheet = wb.getSheetAt(0); Row row = sheet.getRow(2); Cell cell = row.getCell(3); if (cell == null) cell = row.createCell(3); c

Re: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException

2012-02-22 Thread Louis . Masters
ject > > Re: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException > > No, i have ooxml-schemas-1.1.jar and all .jar of poi in my path. > > wait one minute... > > Could you give me a code example to read .xlsx file? > > I think that i forget some think in m

Re: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException

2012-02-22 Thread mouss4rs
No, i have ooxml-schemas-1.1.jar and all .jar of poi in my path. wait one minute... Could you give me a code example to read .xlsx file? I think that i forget some think in my code. -- View this message in context: http://apache-poi.1045710.n5.nabble.com/java-lang-NoClassDefFoundError-org-apac

Re: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException

2012-02-21 Thread Nick Burch
On Tue, 21 Feb 2012, mouss4rs wrote: 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

Re: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException

2012-02-21 Thread mouss4rs
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

Re: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException

2012-02-21 Thread mouss4rs
So, where i can download ooxml-schemas-1.1.jar ?? The link in the FAQ is dead. -- View this message in context: http://apache-poi.1045710.n5.nabble.com/java-lang-NoClassDefFoundError-org-apache-xmlbeans-XmlException-tp5501612p5502617.html Sent from the POI - User mailing list archive at Nabble.co

Re: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException

2012-02-21 Thread Dave Fisher
am, i have this error message: > 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.XmlExcepti

Re: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException

2012-02-21 Thread mouss4rs
log4j-1.2.13.jar So, when i run my program, i have this error message: 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

Re: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException

2012-02-21 Thread Oleg Rempel
mouss4rs gmail.com> writes: > > Hello, > > I would like to read an .xlsx but i have this error: > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/xmlbeans/XmlException Hallo mouss4rs, I think you have not all libraries on the

java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException

2012-02-21 Thread mouss4rs
Hello, I would like to read an .xlsx but i have this error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException at Extraction.main(Extraction.java:135) Caused by: java.lang.ClassNotFoundException: org.apache.xmlbeans.XmlException