Been banging my head against this server for a few days now. We are currently working with ColdFusion 2021 on update 21.
While using cfcompile, we received an error concerning jsafe not being found. From what I can find, update 14 phased this encryption out in favor of a more modern standard. The problem I'm finding is I cant get around this error. The jsafejce.jar file is also missign from the coldfusion directory. See below.
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at coldfusion.tools.CommandLineInvoker.main(CommandLineInvoker.java:112)
Caused by: java.lang.NoClassDefFoundError: com/rsa/jsafe/provider/JsafeJCE
at coldfusion.security.AbstractCfPathValidator.<clinit>(AbstractCfPathValidator.java:42)
at coldfusion.compiler.NeoTranslator.<clinit>(NeoTranslator.java:73)
at coldfusion.tools.Compiler.main(Compiler.java:287)
... 5 more
Caused by: java.lang.ClassNotFoundException: com.rsa.jsafe.provider.JsafeJCE
at coldfusion.bootstrap.BootstrapClassLoader.loadClass(BootstrapClassLoader.java:303)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 8 more