Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have recreated the error with a single, simple job, after following these steps...
Reinstalled Talend Open Studio 5.6.2 and installed all components.
Added aws-java-sdk-1.9.13 and aws-java-sdk-1.10.2 to Talend via the Modules window.
Created a simple job with only a tS3Connection component.
"com.amazonaws cannot be resolved to a type".
com.amazonaws.auth.AWSCredentials credentials_tS3Connection_1 = new com.amazonaws.auth.BasicAWSCredentials(
"",
decryptedPassword_tS3Connection_1);
com.amazonaws.services.s3.AmazonS3Client conn_tS3Connection_1 = new com.amazonaws.services.s3.AmazonS3Client(
credentials_tS3Connection_1);
<CODEGENERATION>
<IMPORTS>
<IMPORT NAME="aws-java-sdk-1.9.13" MODULE="aws-java-sdk-1.9.13.jar" UrlPath="platform:/configuration/lib/java/aws-java-sdk-1.9.13.jar" REQUIRED="true" />
<IMPORT NAME="aws-java-sdk-1.10.2" MODULE="aws-java-sdk-1.10.2.jar" UrlPath="platform:/configuration/lib/java/aws-java-sdk-1.10.2.jar" REQUIRED="true" />
<IMPORT NAME="aws-java-sdk-1.10.5.1" MODULE="aws-java-sdk-1.10.5.1.jar" UrlPath="platform:/configuration/lib/java/aws-java-sdk-1.10.5.1.jar" REQUIRED="true" />
<IMPORT NAME="Driver-Commons-Logging-1.1.1" MODULE="commons-logging-1.1.1.jar" UrlPath="platform:/base/plugins/org.apache.commons.logging_1.1.1.v201101211721.jar" REQUIRED="true" BundleID="" />
<IMPORT NAME="httpcore-4.2.1" MODULE="httpcore-4.2.1.jar" UrlPath="platform:/plugin/org.talend.libraries.apache.http/lib/httpcore-4.2.1.jar" REQUIRED="true"/>
<IMPORT NAME="httpclient-4.2.1" MODULE="httpclient-4.2.1.jar" UrlPath="platform:/plugin/org.talend.libraries.apache.http/lib/httpclient-4.2.1.jar" REQUIRED="true"/>
<IMPORT NAME="jackson-annotations" MODULE="jackson-annotations-2.3.0.jar" UrlPath="platform:/plugin/org.talend.libraries.jackson/lib/jackson-annotations-2.3.0.jar" REQUIRED="true"/>
<IMPORT NAME="jackson-core" MODULE="jackson-core-2.3.2.jar" UrlPath="platform:/plugin/org.talend.libraries.jackson/lib/jackson-core-2.3.2.jar" REQUIRED="true"/>
<IMPORT NAME="jackson-databind" MODULE="jackson-databind-2.3.2.jar" UrlPath="platform:/plugin/org.talend.libraries.jackson/lib/jackson-databind-2.3.2.jar" REQUIRED="true"/>
<IMPORT NAME="joda-time" MODULE="joda-time-2.3.jar" UrlPath="platform:/plugin/org.talend.libraries.jackson/lib/joda-time-2.3.jar" REQUIRED="true"/>
</IMPORTS>
</CODEGENERATION>
I have recreated the error with a single, simple job, after following these steps...
Reinstalled Talend Open Studio 5.6.2 and installed all components.
Added aws-java-sdk-1.9.13 and aws-java-sdk-1.10.2 to Talend via the Modules window.
Created a simple job with only a tS3Connection component.
"com.amazonaws cannot be resolved to a type".