Bug 49833 - CTNumPr type missing from poi-ooxml-schemas
Summary: CTNumPr type missing from poi-ooxml-schemas
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: XWPF (show other bugs)
Version: 3.7-dev
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-26 18:38 UTC by TK Gospodinov
Modified: 2010-09-04 06:17 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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