Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Loading data to redshift using tRedshiftOutputBulkExec - aws jdk compilation errors

Talend Open Studio for Data Integration
Version: 7.0.1

 

I'm creating a simple job to source data from Aurora RDS (MySQL) and load data into Redshift using the tRedshiftOutputBulkExec component, but am hitting compilation errors. 

 

 

org.talend.designer.runprocess.ProcessorException: Job compile errors 
At least job "aurora_2_redshift" has a compile errors, please fix and export again.
Error Line: 6904
Detail Message: com.amazonaws cannot be resolved to a type
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.

 

 

Modules shows the AWS Java JDK is installed.

 

mvn:com.amazonaws/aws-java-sdk/1.11.269/jar

 

 

Code shows that "com.amazonaws cannot be resolved to a type"

 

I tried to import "com.amazonaws.*" by using the tLibrary component, but the code says "The import com.amazonaws cannot be resolved.

 

How do I import the "com.amazonaws" package into my project?

 

 

 

 

Labels (5)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I wasn't able to fix/reload the AWS SDK.  I reinstalled TOS and was able to install the AWS SDK module successfully.  Not sure what went wrong the first time, but now it's working.

 

Thanks,

Hugo

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Hello,

It seems that this jar file is not loaded successfully.

Did you try to add aws-java-sdk-x.xx.xx jar to talend via the modules window? After you click the "Code " to see the generate code, is the jar "aws-java-sdk-x.xx.xx" included the lib?

Best regards

Sabrina

 

 

 

Anonymous
Not applicable
Author

I wasn't able to fix/reload the AWS SDK.  I reinstalled TOS and was able to install the AWS SDK module successfully.  Not sure what went wrong the first time, but now it's working.

 

Thanks,

Hugo

Anonymous
Not applicable
Author

Hello Hugo,

Great it is working now. Feel free to let us know if there is any further help we can give.

Best regards

Sabrina