Java 5 includes per default JAXP 1.3. However, sometimes it is required to upgrade to JAXP 1.4. This can be done with putting the JAXP 1.4 jars into endorsed libs. To achieve this, you have various options.
- As I did not want to switch JAXP for all my projects, I created a directory called
endorsedin my project. - Next, I copied the jar files
jaxp-api-1.4.2.jarandjaxp-ri-1.4.2.jarinto this directory. - The Java VM now needs to be started with the VM parameter
-Djava.endorsed.dirs=path_to_project/endorsed