Talend错误:线程“Thread-0”中的异常java.lang.NoClassDefFoundError:org / apache / http / conn / scheme / SchemeSocketFactory

时间:2017-05-19 15:26:34

标签: java amazon-s3 talend

我正在使用Talend从Redshift加载一些数据,然后再将其上传到S3然后再将Redshift上传。

逻辑是tRedshiftInput - > tRedshiftOutputBulkExec

但是,我收到此错误:

  

线程“Thread-0”中的异常java.lang.NoClassDefFoundError:org / apache / http / conn / scheme / SchemeSocketFactory at com.amazonaws.AmazonWebServiceClient。(AmazonWebServiceClient.java:136)at com.amazonaws.services.s3位于com.amazonaws.services.s3.AmazonS3Client的.AmazonS3Client。(AmazonS3Client.java:481)。(AmazonS3Client.java:461)位于com.amazonaws.services.s3.AmazonS3Client。(AmazonS3Client.java:443)位于momox.ga2redshift_tvvisits_inside_0_1 .GA2Redshift_TVvisits_Inside.tGoogleAnalyticsInput_1Process(GA2Redshift_TVvisits_Inside.java:1516)在momox.ga2redshift_tvvisits_inside_0_1.GA2Redshift_TVvisits_Inside.runJobInTOS(GA2Redshift_TVvisits_Inside.java:2082)在momox.ga2redshift_tvvisits_inside_0_1.GA2Redshift_TVvisits_Inside.runJob(GA2Redshift_TVvisits_Inside.java:1911)在momox.ga2redshift_tvvisits_loop_0_1.GA2Redshift_TVvisits_Loop.tRedshiftInput_1Process( GA2Redshift_TVvisits_Loop.java:1149)在momox.ga2redshift_tvvisits_loop_0_1.GA2Redshift_TVvisits_Loop.tRedshiftR ow_2Process(GA2Redshift_TVvisits_Loop.java:567)在momox.ga2redshift_tvvisits_loop_0_1.GA2Redshift_TVvisits_Loop $ 2.run(GA2Redshift_TVvisits_Loop.java:2613)引起的:抛出java.lang.ClassNotFoundException:org.apache.http.conn.scheme.SchemeSocketFactory在java.net.URLClassLoader的.findClass(URLClassLoader.java:381)位于java.lang.ClassLoader.loadClass(ClassLoader.java:424)的sun.misc.Launcher $ AppClassLoader.loadClass(Launcher.java:335)at java.lang.ClassLoader.loadClass( ClassLoader.java:357)... 10多个

我为这份工作所拥有的图书馆是:

aws-java-sdk-1.10.52.jar
cimt.talendcomp.gaanalytics-2.1-jar-with-dependencies.jar
commons-codec-1.6.jar
commons-logging-1.1.3.jar
dom4j-1.6.1.jar
httpclient-4.5.2.jar
httpclient-4.5.3.jar
httpcore-4.3.3.jar
jackson-annotations-2.5.3.jar
jackson-core-2.5.3.jar
jackson-databind-2.5.3.jar
joda-time-2.8.1.jar
log4j-1.2.17.jar
routines.jar

有什么想法吗?

0 个答案:

没有答案