在amazon s3上上载文件时,我收到了此错误消息。对于此项目,我使用hadoop处理文件,然后将输出文件上载到cloud上。用于相同的jar有:aws-java-sdk1.11.80、hadoop 2.7.1、httpclient 4.4.4和其他必需的jar。
java.lang.NoSuchFieldError: INSTANCE
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.<clinit>(SSLConnectionSocketFactory.java:144)
at com.amazonaws.http.apache.client.impl.ApacheConnectionManagerFactory.getPreferredSocketFactory(ApacheConnectionManagerFactory.java:87)
at com.amazonaws.http.apache.client.impl.ApacheConnectionManagerFactory.create(ApacheConnectionManagerFactory.java:65)
at com.amazonaws.http.apache.client.impl.ApacheConnectionManagerFactory.create(ApacheConnectionManagerFactory.java:58)
at com.amazonaws.http.apache.client.impl.ApacheHttpClientFactory.create(ApacheHttpClientFactory.java:51)
at com.amazonaws.http.apache.client.impl.ApacheHttpClientFactory.create(ApacheHttpClientFactory.java:39)
at com.amazonaws.http.AmazonHttpClient.<init>(AmazonHttpClient.java:319)
at com.amazonaws.http.AmazonHttpClient.<init>(AmazonHttpClient.java:303)
at com.amazonaws.AmazonWebServiceClient.<init>(AmazonWebServiceClient.java:164)
at com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:563)
at com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:543)
at com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:525)
at com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:497)
at com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:479)
暂无答案!
目前还没有任何答案,快来回答吧!