tracker issue : CF-4204126

select a category, or use search below
(searches all categories and all time range)

Class not found error when using cfdocument with Java 11.0.2

| View in Tracker

Status/Resolution/Reason: To Track//HaveNewInfo

Reporter/Name(from Bugbase): Celio S. / ()

Created: 03/28/2019

Components: Document Management

Versions: 2018

Failure Type: Non Functioning

Found In Build/Fixed In Build: All CF2018 builds /

Priority/Frequency: Normal / All users will encounter

Locale/System: English / uBuntu 16.04

Vote Count: 0

Problem Description: java.lang.NoClassDefFoundError: Could not initialize class sun.font.SunFontManager

Steps to Reproduce: Use cfdocument tag

Actual Result: Tag is unusable

Expected Result: Rendered PDF document

Any Workarounds: Downgrading to Java 10



Hi Celio,   Can you try importing your required font files through ColdFusion administrator and try again with Java 11? Java 11 by default has removed a lot of fonts, and without importing, things will break as CF is unable to read these fonts   Thanks, Kailash
Comment by Kailash B.
30629 | April 15, 2019 07:36:09 AM GMT