<https://github.com/foundeo/bolthttp> - I am using...
# lucee
g
https://github.com/foundeo/bolthttp - I am using this for HTTP calls, have been using this for the last few months without errors. But suddenly throwing the below error. Could someone help?
Copy code
lucee.runtime.exp.NativeException: com.compoundtheory.classloader.NetworkClassLoader at java.base/java.net.URLClassLoader.findClass(Unknown Source) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at lucee.runtime.reflection.pairs.MethodInstance.invoke(MethodInstance.java:56) at lucee.runtime.reflection.Reflector.callMethod(Reflector.java:877) at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:831) at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1747) at _cfc.bolt.javaloader.javaloader_cfc$cf.udfCall1(/_cfc/bolt/javaloader/JavaLoader.cfc:250) at _cfc.bolt.javaloader.javaloader_cfc$cf.udfCall(/_cfc/bolt/javaloader/JavaLoader.cfc) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344) at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217) at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:784) at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787) at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1747) at _cfc.bolt.javaloader.javaloader_cfc$cf.udfCall1(/_cfc/bolt/javaloader/JavaLoader.cfc:50) at _cfc.bolt.javaloader.javaloader_cfc$cf.udfCall(/_cfc/bolt/javaloader/JavaLoader.cfc) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344) at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:684) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:572) at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1911) at lucee.runtime.functions.other._CreateComponent.call(_CreateComponent.java:81) at _cfc.bolt.bolthttp_cfc$cf.udfCall(/_cfc/bolt/bolthttp.cfc:207) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344) at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217) at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:784) at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787) at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1747) at _cfc.bolt.bolthttp_cfc$cf.udfCall(/_cfc/bolt/bolthttp.cfc:7) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344) at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:684) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:572) at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1911) at lucee.runtime.functions.other._CreateComponent.call(_CreateComponent.java:66) at
d
JavaLoader is having issues (which BoltHTTP uses to load the Java classes) is having trouble finding the Apache classes BoltHTTP uses (which are in the /lib folder). Perhaps these files were moved or the BoltHTTP's getJarArray() is returning the wrong paths to the jars for some reason. Lastly, it might just be some funkiness in the JVM. I bet restarting Lucee/Tomcat resolves the issue.