Forum Discussion

bmgriner's avatar
bmgriner
Frequent Contributor
12 years ago

Http Dependencies Already Included?

I had some http dependencies that I have had to include in the lib folder to run some of my scripts and when I added them to my 4.5 folder I got the following error:

java.lang.ExceptionInInitializerError
at com.eviware.soapui.DefaultSoapUICore.initSettings(DefaultSoapUICore.java:405)
at com.eviware.soapui.SwingSoapUICore.initSettings(SwingSoapUICore.java:118)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.initSettings(SourceFile:1160)
at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:146)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.init(SourceFile:1070)
at com.eviware.soapui.SoapUIPro$SoapUIProCore.<init>(SourceFile:1051)
at com.eviware.soapui.SoapUIPro.a(SourceFile:214)
at com.eviware.soapui.SoapUIPro$SoapUIProRunner.run(SourceFile:1611)
at com.eviware.soapui.SoapUIPro.main(SourceFile:276)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Caused by: java.lang.SecurityException: class "org.apache.http.conn.scheme.SchemeRegistry"'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(Unknown Source)
at java.lang.ClassLoader.preDefineClass(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.<init>(HttpClientSupport.java:180)
at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.<clinit>(HttpClientSupport.java:65)
... 15 more


However when I removed just the http dependencies: httpcore-4.0.1.jar and httpclient-4.0.1.jar; then everything works fine.

Just curious if you now prepackage these dependencies under a different name.