Jetty 12 and Lucee 6.2.x - Jakarta

Anyone using Lucee 6.2.x on Jetty 12? I have used Jetty 8, 9 and 10 in production but Jetty 12 seems to be a new beast. Lucee never deploys. I can’t even serve static content.

OS: Linux and Windows
Java Version: JDK 21.0.8+9
Tomcat Version: n/a
Lucee Version: Lucee 6.2.1.122.jar

You’ll need the javax libraries, 6.2 supports Jakarta (i.e. jetty 12) but is still javax based

See the addJavaXjars function around line 237

You’ll need to download and add these jars to the jetty lib folder / classpath

https://repo1.maven.org/maven2/javax/servlet/javax.servlet-api/4.0.1/javax.servlet-api-4.0.1.jar
https://repo1.maven.org/maven2/javax/servlet/jsp/javax.servlet.jsp-api/2.3.3/javax.servlet.jsp-api-2.3.3.jar
https://repo1.maven.org/maven2/javax/el/javax.el-api/3.0.0/javax.el-api-3.0.0.jar

Lucee 7 latest snapshots should just work as we switched to Jakarta

1 Like