I tried to compile this simple code, but I have a compilation error.
- Code: Select all
import org.docx4j.openpackaging.packages.WordprocessingMLPackage;
public class CreateWordprocessingMLDocument {
public static void main(String[] args) throws Exception {
WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.createPackage();
}
}
Eclipse gives me:
Creating package..
08.09.2010 08:57:03 *DEBUG* PartName: Trying to create part name / (PartName.java, line 150)
08.09.2010 08:57:03 *DEBUG* PartName: /_rels/.rels part name created. (PartName.java, line 117)
08.09.2010 08:57:03 *DEBUG* PartName: /docProps/core.xml part name created. (PartName.java, line 117)
08.09.2010 ...