Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

源码节点 发布于 2015/09/29 15:25
阅读 4K+
收藏 0
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.http.conn.ssl.DefaultHostnameVerifier.<init>(DefaultHostnameVerifier.java:69)
at org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:901)
at org.apache.http.impl.client.HttpClients.createDefault(HttpClients.java:58)
at com.java.test.httpClient.AppAdRequestTest.getMedAppRequest(AppAdRequestTest.java:30)
at com.java.test.httpClient.AppAdRequestTest.main(AppAdRequestTest.java:24)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
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)
... 5 more

加载中
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部