I found out what the problem was, I used the wrong jena version. After downloading 2.11.2 everything worked perfectly.
On 6 September 2017 at 16:51, Mads Stavang <[email protected]> wrote: > Hello, > > I am trying to use odftoolkit, but when I execute the following: > > TextDocument.newTextDocument(); > > I get: > > Exception in thread "main" java.lang.NoClassDefFoundError: > net/rootdev/javardfa/StatementSink > > The classpath is: > > > - xercesImpl-2.11.0 (jena-3.4.0) > - xml-apis-1.4.01 (jena-3.4.0) > - odfdom-java-0.8.11-incubating.jar (odftoolkit-0.6.2) > - simple-odf-0.8.2-incubating (odftoolkit-0.6.2) > > What am I missing? > > Mads > > >
