cfdocument crashes generating PDF with embedded base64 image in Java 11

Description

tl;dr
java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter

Repro:

Stack trace from logs is attached.

The same code works fine with the same version of Lucee (and extensions) on Java 8.

Environment

Docker - lucee/lucee:5.3.3.60-SNAPSHOT-nginx
OpenJDK 64-Bit Server VM (build 11.0.3+1-Debian-1bpo91, mixed mode, sharing)
Image extension 1.0.0.27
PDF extension 1.0.0.75

Activity

Show:
Zac Spitzer
May 23, 2020, 8:22 PM
Edited

the new release of flying saucer 9.1.20 fixes this specific error

Mircea Botez
June 22, 2020, 10:22 PM

It will work with the old version if you add jaxb api. It crashes because jaxb was removed from Java SE and added to Java EE from Java 9 I believe.

Michael Offner
August 21, 2020, 10:40 PM

already happen with Java 10

 

Michael Offner
August 21, 2020, 11:36 PM

Michael Offner
August 21, 2020, 11:37 PM

Flagged

Assignee

Michael Offner

Reporter

Leon Miller-Out

Priority

New

Labels

Fix versions

Sprint

5.3.8 Sprint 3

Affects versions