I'm fairly new at the whole java / eclipse thing so I'm sure it's a silly mistake I'm making, but I am stuck. I downloaded the getting started document, and first tried to download the 2.7.1 binaries, and test the Parts List example. This didn't work; The following message kept popping up: Exception in thread main, java.lang.NoClassDefFoundError: org/docx4j/samples/PartList

Then I figured, I'll just rebuild the whole thing and start fresh. So I followed all instructions again, installed eclipse, maven, maven plugins etc, and tried to build the file. This also resulted in a bust, because apparently the xhtmlrenderer snapshot is nowhere to be found.

I know this all sounds very vague and you probably want more specifics, but as I said, I followed the tutorial to the letter, both for binaries and compilation. I even tried to compile it with maven, but this also resulted in a bust: I got the message that the xhtmlrenderer snapshot 1.0.0 was not present in the repository.

Can someone please help me with one or both errors, (binaries and build)

Set compiler version & system library:• Right click on the project (or Alt-Enter)• Choose "Java Compiler", then set JDK compliance to 1.6• Choose "Java Build Path", and check you are using 1.6 "JRE System Library". If not, remove, then click "Add Library"

I don't know why m2eclipse doesn't get this right. Note especially "remove "Excluded: **" if present!" -- you should check there is no such exclusion on any of the build path entries.

Regarding org.docx4j.org.xhtmlrenderer.docx.Docx4JFSImage - it is possible the pre-built xhtmlrenderer jar is a bit out of date. I will need to check. Or you can simply delete the org.docx4j.convert.in.xhtml package for now so that you don't need it.