How do I load jsoup Java library from inside Coldfusion 2016?
问题 TLDR: CreateObject function throws an exception (java.lang.ClassNotFoundException) because it cannot see the java class/JAR file. Any ideas what am I doing wrong? Thanks contents of Application.cfc <cfcomponent output="true"> <cfset path = "#Mid(CGI.CF_TEMPLATE_PATH, 1, FindNoCase("index.cfm", CGI.CF_TEMPLATE_PATH)-2)#/java/lib" /> <cfoutput>path: #path#</cfoutput> <cftry> <cfset This.javaSettings = {LoadPaths = ["#path#/", "#path#/java/lib/jsoup-1.12.1.jar", "./java/lib/", "./java/lib/jsoup