I want to use docx4j with some programes I've written a while ago as an outputting method.
As my first try, I wanted to simply read a docx-File but the few lines:
- Code: Select all
package word;
import java.io.File;
import org.docx4j.openpackaging.exceptions.Docx4JException;
import org.docx4j.openpackaging.packages.WordprocessingMLPackage;
public class ReadDocX {
public static void main(String[] args) throws Docx4JException {
String inputfilepath = "bsp/test.docx";
WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage
.load(new File(inputfilepath));
}
}
are causing me the following error-messages:
0 [main] INFO ...