Re: ERROR: A class needed by class org.dita.dost.ant.IntegratorTask cannot be found #DITA-OT
thanks for your help. The error message does not appear while trying to create an output (like pdf for example), but after entering the DITA-OT directory and trying to install dita itself using the command ant -f Integrator.xml. I have never encountered that error message before.
From: email@example.com <firstname.lastname@example.org> on behalf of Radu Coravu <radu_coravu@...>
Sent: Tuesday, December 3, 2019 9:17 AM
To: email@example.com <firstname.lastname@example.org>
Subject: Re: [dita-users] ERROR: A class needed by class org.dita.dost.ant.IntegratorTask cannot be found
Are you starting the DITA OT process by using the recommended startup
scripts ("bin\dita.bat" or "bin\dita" executables) or do you have your
custom way of starting the processing?
The command line scripts should know exactly what libraries need to be
loaded and used.
There is a library "DITA-OT\lib\slf4j-api-1.7.25.jar" which is bundled
with the DITA OT but it does not seem to be loaded by the class loader
of the process which you are starting on your side.
<oXygen/> XML Editor
On 12/2/2019 7:33 PM, Björn Dahmen wrote:
> Hi there,
> I have been working with DITA for a couple of years by now. I know about
> setting path and environmental variables successfully.
> Nevertheless, since yesterday, when ever I try to install the DITO OT, I
> get this error:
> BUILD FAILED
> D:\dita-ot-3.4\integrator.xml:39: taskdef A class needed by class
> org.dita.dost.ant.IntegratorTask cannot be found: org/slf4j/Logger
> using the classloader
> Does any one know how to fix this? JDK 8 u 231 is installed...
> Thanks in advance!