Error when saving a Java CFX tags

trying to save a new Java CFX tag and receiving this error message

cannot load class through its string name, because no definition for the class with the specified name [ImageCR3] could be found caused by (java.lang.ClassNotFoundException:ImageCR3;java.lang.ClassNotFoundException:ImageCR3 not found by lucee.core [64]; )

i am using lucee 5.2.8.50

I posted a solution to using the efflare Java CFX tag elsewhere in the forum. But essentially it goes like this:

You need to do to get Tomcat to see the classpath that the efllare application is installed to, so add the following line to the end of the setenv.sh file in the tomcat \bin folder.

CLASSPATH="C:\Program Files (x86)\Efflare\ImageCR3Service\imagecr3.jar"

If you used the default installer or alternately the path to where you installed the service. I installed it in
C:\Efflare so my path class looks like this: (include quotes)

CLASSPATH=“C:\Efflare\imagecr3.jar”

Next open the Windows services panel and start the Efflare ImageCR 3 Service then in the services panel stop the Lucee service and once stopped start it again.

Log in to you your server admin page under CFX add the following

Under name: cfx_imagecr3
Under class: ImageCR3

And make note that it is case sensitive. ( wasted over an hour because I had the wrong case).

1 Like