Page 1 of 1

javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath.

Posted: Fri May 15, 2020 3:09 pm
by shrinidhiha
javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath. getting this exception when migrated from JDK 1.8 to 10 on Oxygen WebHelp V20.1.

We have these three JAXB-* libraries as well in the classpath and still getting this exception at runtime.

how to solve this Exception as this is a Ant Task defined in build.xml with wh_classpath?

i really appreciate any solution to this issue as this not working with V20.1 package of Oxygen Webhelp

Exception is thrown at this line in build.xml
<taskdef name="templatetask" classname="com.oxygenxml.publishing.template.PublishingTemplateTask" classpathref="wh_classpath"/>

This is occuring only when we migrated JDK 1.8 to JDK 10 on our Machines.

Re: javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath.

Posted: Tue May 19, 2020 12:47 pm
by Costin
Hi shrinidhiha,

How exactly are you using WebHelp? Are you using the standalone WebHelp plugin product from our website, or are you a custom DITA-OT using the WebHelp plugin that you extracted from an Oxygen XML GUI product (like Editor or Author)?

We double checked and the standalone WebHelp plugin for DITA-OT should already include the JAXB libraries, so it should not be necessary to add your own libraries in the classpath.

Therefore, you should download the official distribution of WebHelp Plugin version 20.1 from the software archive (here is the link to it), and deploy it in a separate DITA-OT and it should work, without any classpath changes.

Let us know if you still encounter issues after you do that.

Regards,
Costin