“coldfusion.sql.DataSrcImpl” and “coldfusion.filter.FusionContext”

I recently upgraded my server to ColdFusion2023 in order to make it compatible with the latest version of ColdBox and also thinking that it would resolve an issue with ColdBox accessing ColdFusion/Java objects as mentioned in the following thread.

So after pulling my hair trying to fix this for a couple of days and searching everywhere for a way to fix this, it looks like the only solution to this problem is to uncheck the option “Disable access to ColdFusion Java components” in ColdFusion’s administrator backend. Is this correct, or advisable? Wouldn’t this be a extreme security concern? All your suggestions are greatly appreciated.