We use docflex to build our XSD documentation, integrating with maven to produce XSD documentation in our maven site reports.
I recently had to upgrade some developers from docflex-re 1.8.0 to 1.8.5, this migration went fine.
For some reason it didn’t on my machine.
I received the following error:
java.lang.NoClassDefFoundError: org/apache/xml/resolver/CatalogManager
Anyway to cut a long story short it transpired that about a year ago whilst working on another project I had changed the jdk’s xerces jar by placing
- xalan.jar
- xercesImpl.jar
- xml-apis.jar
- serializer.jar
in the jre/lib/endorsed directory and completely forgot about it.
Removing these jars (which were probably older versions and I didn’t need in there anyway) and everything works fine.
I’d imagine putting a new version of xerces in endorsed would probably fix this as well….
Upgrading to Maven 3 Site Reporting
Preventing Maven Plugin Mojo running multiple times for multi module projects
So, what do you think ?