Upgrade from 6.2 to 7 fails

I have tried to upgrade from 6.2 to 7.0.0.201 and 7.0.0.202 on multiple VMs and constantly get a 500 error on startup:

java.lang.NoClassDefFoundError: lucee/runtime/util/AI
java.lang.ClassNotFoundException: lucee.runtime.util.AI

Used the linux installer for 6.2 - lucee-6.2.0.321-linux-x64-installer.run

For the upgrade, I’ve tried using the Admin UI, I’ve patched using the Core, and I’ve tried using the JAR file. All three methods get the exact same error. For the Core/JAR removing the JAR or lco file and restarting brings back the 6.2 install.

Java and Tomcat versions are the bundled version in the 6.2 installer.

The Lucee Loader version has been has been updated with 7, release notes coming. AI has been added to the Loader, so that other extensions can also use the built in AI support.

You need to replace the lucee.jar in the /lib folder with the same version as the BETA.

I just kicked off the installer builds, they are up on https://download.lucee.org/

1 Like

I got that a number of times, no idea still why AI needs to be in the core, but there is bug often in that page that causes this. Should be an extension…???

It fails no-ai security compliance audits due to this page even being present.

I can’t remember from the last time i fixed it but I think i just found the line in in the ai page and tweaked it or uput a try/catch until error went away and moved on.

can you elaborate, if you mention a bug, please always provide details and the error message?

There is no AI in the core, there are AI functions which allow calling LLM services via http calls, should we remove cfhttp as well?