Lucee Error - TreeWalker not found?

created a fresh lucee/lucee: Docker container and ormReload() got stuck on this error… the container has Hibernate and mssql drivers specified in the install, this application was running fine in a Lucee 5.2 container.

Lucee Error (java.lang.NoClassDefFoundError)
Message org/apache/xml/serializer/TreeWalker
Stacktrace The Error Occurred in
/var/www/xyxyxyxy/Application.cfc: line 34

32: public boolean function onRequestStart(required String targetPage) {
33: if ( isDefined(‘url.reload’) && url.reload == 3555 ) {
34: ormReload();
35: // Mach-II Reload
36: reloadConfig();
Java Stacktrace lucee.runtime.exp.NativeException: org/apache/xml/serializer/TreeWalker
at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(
at org.lucee.xml.XMLUtility.writeTo(
at org.lucee.xml.XMLUtility.toString(
at org.lucee.extension.orm.hibernate.HibernateORMEngine.createMapping(
at org.lucee.extension.orm.hibernate.HibernateORMEngine.getSessionFactoryData(
at org.lucee.extension.orm.hibernate.HibernateORMEngine.reload(
at lucee.runtime.config.ConfigImpl.resetORMEngine(
at lucee.runtime.orm.ORMUtil.resetEngine(
at application_cfc$cf.udfCall(/Application.cfc:34)

Does it happen in the latest RC too?

I figured out how to fix it, the docker build was set to use an older hibernate extension (, upgrading to the current took care of it. Thanks

I didn’t realise the <orm> element had it’s own version number separate to the <extension> elements, I assume this line is what you needed to change?

Does it also work if you remove the engine-bundle-version="" attribute and value completely? If so, I can commit that change so that it doesn’t need to be manually handled in the future, otherwise I’ll have to check the latest version of the extension for each release.

Just to provide backstory, I was having problems with Hibernate versions “” to “” using (Lucee 5.2) or so and since “” worked fine, I over-rode the default install instructions "ENV LUCEE_EXTENSIONS "FAD1E8CB-4F45-4184-86359145767C29DE;name=Hibernate;version=;

I just got around to trying Lucee 5.3. Lucee 5.3 and Hibernate “” got the the missing class error.
Thanks for the support, the Docker stuff is awesome!

1 Like

Hi Justin,
this seems to work okay with the engine-bundle-version attribute removed.

1 Like