Bug 49833

Summary: CTNumPr type missing from poi-ooxml-schemas
Product: POI Reporter: TK Gospodinov <tk>
Component: XWPFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 3.7-dev   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description TK Gospodinov 2010-08-26 18:38:16 UTC
I get the following exception when I try calling XWPFParagraph#setNumID:

java.lang.NoClassDefFoundError: org/openxmlformats/schemas/wordprocessingml/x2006/main/CTNumPr
	at org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTPPrBaseImpl.addNewNumPr(Unknown Source)
	at org.apache.poi.xwpf.usermodel.XWPFParagraph.setNumID(XWPFParagraph.java:273)
Comment 1 Yegor Kozlov 2010-09-04 06:17:24 UTC
Fixed in r992574. To test-drive you will need to generate poi-ooxml-schemas.jar from trunk. 

Use the "ant jar" target to build all POI jars.

Regards,
Yegor