Re: ERROR: A class needed by class org.dita.dost.ant.IntegratorTask cannot be found #DITA-OT


Radu Coravu
 

Hi Björn,

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?

https://www.dita-ot.org/dev/topics/build-using-dita-command.html

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.

Regards,
Radu

Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

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 AntClassLoader[D:\dita-ot-3.4\lib\dost.jar;D:\dita-ot-3.4\lib\dost-configuration.jar]
Does any one know how to fix this? JDK 8 u 231 is installed...
Thanks in advance!

Join main@dita-users.groups.io to automatically receive all group messages.