java.lang.NoClassDefFoundError

org/apache/commons/httpclient/protocol/ProtocolSocketFactory


Solutions on the web19470

Solution icon of stackoverflow
org/apache/commons/httpclient/protocol/ProtocolSocketFactory

Solution icon of github
org/apache/commons/httpclient/protocol/ProtocolSocketFactory

Solution icon of oraclecommunity
via Oracle Community by 843807, 1 year ago
org/apache/commons/httpclient/protocol/SecureProtocolSocketFactory

Solution icon of googlegroups
via Google Groups by Ishtiaq, 1 year ago
org/apache/commons/ httpclient/protocol/ControllerThreadSocketFactory

Solution icon of stackoverflow
org/apache/commons/httpclient/protocol/ControllerThreadSocketFactory

Solution icon of stackoverflow
org/apache/commons/httpclient/protocol/ControllerThreadSocketFactory$1

Solution icon of googlegroups
via Google Groups by david...@autodesk.com, 1 year ago
org/apache/commons/ httpclient/protocol/ControllerThreadSocketFactory

Solution icon of web
org/apache/commons/httpclient/HttpClient

Solution icon of web
via hivmr.com by Unknown author, 1 year ago
org/apache/commons/httpclient/HttpClient

Solution icon of oraclecommunity
via Oracle Community by 3275068, 8 months ago
org/apache/commons/httpclient/HttpClient

Stack trace

  • java.lang.NoClassDefFoundError: org/apache/commons/httpclient/protocol/ProtocolSocketFactory at org.springframework.security.saml.SAMLBootstrap.postProcessBeanFactory(SAMLBootstrap.java:42) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:281) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:176) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:524) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1092) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1984) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.protocol.ProtocolSocketFactory at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

3 times, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago
29 times, 6 months ago
2 times, 7 months ago
Samebug visitor profile picture
Unknown user
2 times, 10 months ago
322 more bugmates