I’ve run into this a couple of times…so I thought I post it here. I don’t believe it’s a bug so won’t post on Atlassian. (I will post there if anyone thinks it’s useful)
PDF report is created using cfsavecontent/cfdocument.
User reports “Error opening PDF” browser message. No PDF is created.
Exception Log shows
;cannot load class through its string name, because no definition for the class with the specified name [org.zefer.pd4ml.PD4ML] could be found caused by (java.lang.ClassNotFoundException:org.zefer.pd4ml.PD4ML;java…
This is misleading…
Restart Lucee service, try to produce report again. Same browser error however a different server error message
;can’t create file C:\inetpub\wwwroot\intranet\WEB-INF\lucee\temp\fonts. lmdp, file already exists;lucee.runtime.exp.NativeException: can’t create file C:\inetpub\wwwroot\intranet\WEB-INF\lucee\temp\fonts. lmdp, file already exists
So…stop Lucee service. Delete the 3 lmdp files in WEB-INF\lucee\temp\fonts.
Retry report and viola! Working.