Is there a trick to getting `this.javaSettings` in...
# cfml-general
t
Is there a trick to getting
this.javaSettings
in Application.cfc to work? I don't have access to restart the CF service, so I have
reloadOnChange=true
and yet, when I add new jars to my load path, I get class not found errors.
I suppose I should mention that on the server that I can restart the cf service, restarting reloads the jar and the paths can be found. So it's not that my code is calling the wrong class or something.
z
probably would help to mention which engine and version too?
t
Acf 2018.
c
One of the reasons I rarely use
this.javasettings
is that that I could never get the dynamic reloading to work in Lucee. I thought it was more reliable in ACF but don't use that engine much nowadays. For Lucee my preferred method is OSGi loading where I need to avoid restarts to pick up changes, but for ACF JavaLoader still does the job.