The smaller poi-ooxml jar is built with the assumption that POI only uses ooxml classes that are loaded when running tests. Evidently we are ,missing a test that makes sense of CTTextNoBullet, this is why this class is missing.
I'm going to fix it. If I can't generate a sample .pptx file containg CTTextNoBullet, may I ask you to upload one ? Yegor On Wed, Jan 18, 2012 at 4:40 PM, <[email protected]> wrote: > Yegor: > > I should have checked the FAQs first - sorry about that. I'll download > and include the new JAR. > > Thanks, > Lou > > > Yegor Kozlov <[email protected]> wrote on 01/18/2012 07:35:58 AM: > >> Yegor Kozlov <[email protected]> >> 01/18/2012 07:36 AM >> >> Please respond to >> "POI Users List" <[email protected]> >> >> To >> >> POI Users List <[email protected]> >> >> cc >> >> Subject >> >> Re: Missing class trying to importContent >> >> We have a FAQ entry for that: >> http://poi.apache.org/faq.html#faq-N10025 >> >> In the short term, use the full ooxml-schemas jar instaed of >> poi-ooxml-schemas. You can build it yourself with the POI svn checkout >> or download from the Maven central repo: http://search.maven.org. The >> jar you want is >> >> http://search.maven.org/remotecontent?filepath=org/apache/poi/ooxml- >> schemas/1.1/ooxml-schemas-1.1.jar >> >> >> Yegor >> >> On Wed, Jan 18, 2012 at 4:28 PM, <[email protected]> wrote: >> > I'm getting the following error when trying to import a slide: >> > >> > java.lang.NoClassDefFoundError: >> > org/openxmlformats/schemas/drawingml/x2006/main/CTTextNoBullet >> > >> > >> > org.openxmlformats.schemas.drawingml.x2006.main.impl.CTTextParagraphPropertiesImpl.addNewBuNone >> (Unknown >> > Source) >> > >> > org.apache.poi.xslf.usermodel.XSLFTextParagraph.setBullet >> (XSLFTextParagraph.java:613) >> > >> > org.apache.poi.xslf.usermodel.XSLFTextParagraph.copy >> (XSLFTextParagraph.java:977) >> > > org.apache.poi.xslf.usermodel.XSLFTextShape.copy(XSLFTextShape.java:578) >> > > org.apache.poi.xslf.usermodel.XSLFSheet.importContent(XSLFSheet.java:299) >> > > org.apache.poi.xslf.usermodel.XSLFSlide.importContent(XSLFSlide.java:226) >> > >> > I'm using the most recent cut (3.8b5). I don't see the class in the > JAR. >> > >> > Thanks, >> > Lou >> > >> >> --------------------------------------------------------------------- >> 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]
