Hi.
I tray to use org.docx4j.wml.CTSdtComboBox but I encounter the exception:
[com.sun.istack.internal.SAXException2: unable to marshal type "org.docx4j.wml.CTSdtComboBox" as an element because it is missing an @XmlRootElement annotation]
I know that CTSdtComboBox does not have an @XmlRootElement. Can you tell me how to create ComboBox for docx documents ?
Thanks.
This is my code:
                SdtBlock sdt = wmlFactory.createSdtBlock();
		org.docx4j.wml.SdtPr sdtPr = wmlFactory.createSdtPr();
		sdt.setSdtPr(sdtPr);
		 org.docx4j.wml.CTSdtComboBox  cTSdtComboBox = wmlFactory.createCTSdtComboBox();
		CTSdtListItem item = wmlFactory.createCTSdtListItem();
		item.setValue("My value");		
		cTSdtComboBox.getListItem().add(item);
		sdtPr.getRPrOrAliasOrLock().add(cTSdtComboBox); // THIS THROWS com.sun.istack.internal.SAXException2
			
		
