Copy link to clipboard
Copied
Hello All,
We recently migrated to CF2021 in last week in Production and we are facing major issue with all Java jars. Jars are in CF2021/jre/lib folder but still we are facing hard errors on createObject function.
Whenever CF trying to create Java Object using createObject function, it's giving classnotfound exception on that java object.
If anyone faced this issue before please comment here. We will really appreciate your help!
Thanks in advance!
CF2021/jre/lib is probably the wrong location.
Java JARS to be used by ColdFusion should be in a lib directory within the ColdFusion instance. Typically, in {CF2021_HOME}/cfusion/lib or {CF2021_HOME}/myCFInstance/lib.
Copy link to clipboard
Copied
CF2021/jre/lib is probably the wrong location.
Java JARS to be used by ColdFusion should be in a lib directory within the ColdFusion instance. Typically, in {CF2021_HOME}/cfusion/lib or {CF2021_HOME}/myCFInstance/lib.
Copy link to clipboard
Copied
Thanks a lot @BKBK !
some jars were missing in cfusion/lib folder. After I added them, impacted flows worked fine.