XML error in jdk17 with Lucee 5.4

Description

When I try to upgrade my jdk11 to jdk17, I have a problem with the xml function.

So function isXML or xmlparse get error class javax.xml.parsers. DocumentBuilderFactory cannot be created.

 

Environment

lucee 5.4.6.9

docker-commandBox jdk17-3.9.9

Activity

Show:

Zac Spitzer 30 October 2024 at 11:17

Hi as per https://docs.lucee.org/ Lucee 5.4 only officially supports Java 11 and is no longer maintained, except for security fixes.

Lucee 6.1 supports java 11, 17 and 21

If you want to use a newer java version, unless you have a good reason, I’d suggest going straight to java 21, as there are additional benefits with memory usage and performance over 17

Won't Fix

Details

Assignee

Reporter

Priority

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 30 October 2024 at 05:14
Updated 30 October 2024 at 11:17
Resolved 30 October 2024 at 11:17