Just upgraded from Lucee 4.5 to 5.0. Thx for the great product!
I have an exception using cfpdfparam. I want to loop over an array which
contains PDF binaries, generated with cfdocument and merge the single
documents to one document.
<cfloop from="1" to="#arrayLen(loc.myArray)#" index="loc.Position">
The code doesn’t even start. The exception thrown is:
“cannot load class through its string name, because no definition for the
class with the specified name
[lucee.transformer.cfml.evaluator.impl.PDFParam] could be found”
Does anyone have similar problems?
We’re on Lucee 126.96.36.199 and we’re experiencing similar issues, but with ANY JAR-file we try to load via CreateObject:
cannot load class through its string name,
because no definition for the class with the specified name [JAR-functionname]
could be found caused by
(java.lang.ClassNotFoundException:JAR-functionname not found by lucee.core ;
What to do?
I’ve tried this:
Where do I have to place 3rd party jars?
Since Lucee 188.8.131.52+ I can’t place them anymore in /opt/lucee/lib . By doing this the WEB-INF folder of new domains isn’t created without failures.
The Lucee 4.5 way isn’t working:
If I place the 3rd party jars in the domain’s WEB-INF/lucee/lib folder, the jar files aren’t found. I get an error message with the hint:
Caused by: java.io.FileNotFoundException: /opt/lucee/lib/[filename].jar (file or directory not found)
(place JAR’s in /webappname/WEB-INF/lucee/lib/)
Utilized this: Mark Mandel’s JavaLoader (works nicely in CF9+, but NOT in Lucee at all)
In all cases we get the above error-message. It seems like this issue
https://luceeserver.atlassian.net/browse/LDEV-604 is still not resolved…