: com.project.publiko, PID: 27061
java.lang.NoSuchFieldError: No static field INSTANCE of type Lorg/apache/http/message/BasicHeaderValueFormatter; in class Lorg/apache/http/message/BasicHeaderValueFormatter;or its superclasses (declaration of
org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: org/apache/http/params/SyncBasicHttpParams] with root cause
java.lang.ClassNotFoundException: org.apache.http.params.SyncBasicHttp
我目前正在使用aws-iot-sdk for java (v1.11.380),在构建我的AWSIotData和AWSIotClient时,我在调试模式中发现了一个隐藏的异常:org.apache.http.conn.ssl.SSLConnectionSocketFactory我猜这可能是因为Apache http客户端的版本与我在程序中已经使用的版本冲突,但我真的不知道如何解决这个问题。谢谢您:)
(org.apache.httpcomponents:httpclient:4.3.6) and httpclient-android-4.3.5.jar (org.apache.httpcomponents.jar (org.apache.httpcomponents:httpclient-android:4.3.5) and httpcore-4.3.3.jar (org.apache.httpcomponents4.3.5.jar (org.<e
> Could not resolve org.apache.httpcomponents:httpmime:4.5.2.httpmime-4.5.2.pom
> Could not resolve org.apache.httpcomponents:httpcomponents-client:4.5.2> Could not resolve org.apache.httpcomponents:httpcomponent