You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Erik Stansbury <es...@beachheadsolutions.com> on 2015/06/15 21:43:09 UTC

MultiThreadedConnectionManager

I am getting an error where the class MultiThreadedConnectionManager is missing. I am creating an android email app and I need this class in order for it to work. I am using the Android httpclient 4.3.5. Thanks for the help

RE: MultiThreadedConnectionManager

Posted by Erik Stansbury <es...@beachheadsolutions.com>.
06-15 13:18:03.421  26373-26373 FATAL EXCEPTION: main
    Process: ewssender, PID: 26373
    java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/commons/httpclient/MultiThreadedHttpConnectionManager;
            at microsoft.exchange.webservices.data.ExchangeServiceBase.<init>(ExchangeServiceBase.java:105)
            at microsoft.exchange.webservices.data.ExchangeService.<init>(ExchangeService.java:4194)
            at MainActivity.connection(MainActivity.java:67)
            at MainActivity$1.onClick(MainActivity.java:33)
            at android.view.View.performClick(View.java:4780)
            at android.view.View$PerformClick.run(View.java:19866)
            at android.os.Handler.handleCallback(Handler.java:739)
            at android.os.Handler.dispatchMessage(Handler.java:95)
            at android.os.Looper.loop(Looper.java:135)
            at android.app.ActivityThread.main(ActivityThread.java:5254)
            at java.lang.reflect.Method.invoke(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:372)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
     Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.commons.httpclient.MultiThreadedHttpConnectionManager" on path: DexPathList[[zip file "/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
            at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
            at microsoft.exchange.webservices.data.ExchangeServiceBase.<init>(ExchangeServiceBase.java:105)
            at microsoft.exchange.webservices.data.ExchangeService.<init>(ExchangeService.java:4194)
            at MainActivity.connection(MainActivity.java:67)
            at MainActivity$1.onClick(MainActivity.java:33)
            at android.view.View.performClick(View.java:4780)
            at android.view.View$PerformClick.run(View.java:19866)
            at android.os.Handler.handleCallback(Handler.java:739)
            at android.os.Handler.dispatchMessage(Handler.java:95)
            at android.os.Looper.loop(Looper.java:135)
            at android.app.ActivityThread.main(ActivityThread.java:5254)
            at java.lang.reflect.Method.invoke(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:372)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
    Suppressed: java.lang.ClassNotFoundException: org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
            at java.lang.Class.classForName(Native Method)
            at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
            at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
            ... 15 more
     Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available

-----Original Message-----
From: Stefan Magnus Landrø [mailto:stefan.landro@gmail.com] 
Sent: Monday, June 15, 2015 1:17 PM
To: HttpClient User Discussion
Subject: Re: MultiThreadedConnectionManager

Stacktrace?


> Den 15. jun. 2015 kl. 21.43 skrev Erik Stansbury <es...@beachheadsolutions.com>:
> 
> I am getting an error where the class MultiThreadedConnectionManager is missing. I am creating an android email app and I need this class in order for it to work. I am using the Android httpclient 4.3.5. Thanks for the help

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: MultiThreadedConnectionManager

Posted by Stefan Magnus Landrø <st...@gmail.com>.
Stacktrace?


> Den 15. jun. 2015 kl. 21.43 skrev Erik Stansbury <es...@beachheadsolutions.com>:
> 
> I am getting an error where the class MultiThreadedConnectionManager is missing. I am creating an android email app and I need this class in order for it to work. I am using the Android httpclient 4.3.5. Thanks for the help

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org