Page 1 of 1

java.lang.ClassNotFoundException: net.sf.saxon.TransformerFactoryImpl

Posted: Wed Mar 16, 2022 12:09 pm
by ttasovac
Hi,

I am getting this error:

Code: Select all

/Applications/Oxygen XML Editor/frameworks/tei/xml/tei/stylesheet/common/teianttasks.xml:388: java.lang.ClassNotFoundException: net.sf.saxon.TransformerFactoryImpl
when running an ODT transformation with the built-in TEI framework in oXygen 24.1 on the silicone Mac.

Please advise.

All best,
Toma

Re: java.lang.ClassNotFoundException: net.sf.saxon.TransformerFactoryImpl

Posted: Wed Mar 16, 2022 12:23 pm
by ttasovac
hm... the libraries section in the transformation scenario refers to:

Image

but there is no saxon or saxon9 jar in my installation.

Re: java.lang.ClassNotFoundException: net.sf.saxon.TransformerFactoryImpl

Posted: Wed Mar 16, 2022 12:56 pm
by Radu
Hi Toma,

The "TEI P5 ODT" transformation scenario bundled with Oxygen 24.1 has this extra library reference in the LIbraries list:

Code: Select all

${oxygenHome}/lib/*saxon*10*.jar
That's because Oxygen 24.1 comes bundled with the Saxon 10 XSLT processor.

Regards,
Radu

Re: java.lang.ClassNotFoundException: net.sf.saxon.TransformerFactoryImpl

Posted: Wed Mar 16, 2022 1:03 pm
by ttasovac
Thanks, Radu, that was it. This was an older transformation scenario, so adding the ref to Saxon 10 fixed it.

All best,
Toma