odftoolkit NoClassDefFoundError exception

831 Views Asked by At

I've read this topic, and I've used odfdom library as was described, but I ve got an excption

 Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/dom/DocumentImpl

How can I deal with that? Thank you!

P.S.: Here is gist

1

There are 1 best solutions below

0
On

I've had the same problem. Adding xercesImpl.jar (can be found in Xerces2 Java archive on http://xerces.apache.org/mirrors.cgi#binary) to my libs has solved it.