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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tS3Connection not compiling! issue with AWS libraries

Hi,
When I add the component tS3Connection to my job I get the following compilation error four times:
"com.amazonaws cannot be resolved to a type"
In the code, the offending lines are these: 
"com.amazonaws.auth.AWSCredentials credentials_tS3Connection_1 = new com.amazonaws.auth.BasicAWSCredentials( context.Access_Key_ID, decryptedPassword_tS3Connection_1);
com.amazonaws.services.s3.AmazonS3Client conn_tS3Connection_1 = new com.amazonaws.services.s3.AmazonS3Client( credentials_tS3Connection_1);"

I tried adding a tLibraryLoad component, importing the library "aws-java-sdk-1.9.13.jar", and adding the following imports:
"import com.amazonaws.auth;
import com.amazonaws.services;"
This produces another compilation error, "The import com.amazonaws cannot be resolved."

I am running Talend 5.6.

When I attempt to attach a screenshot (JPG), your website gives the following message: Error : Invalid format of the picture. Or the server doesn't support processing of pictures.  Please don't request that I attach screenshots until you are able to fix this error with your website.

Thanks!

Labels (3)
7 Replies
Anonymous
Not applicable
Author

Open the Modules viewer and see if this jar has been installed. If not, install it from the Modules viewer. 
Anonymous
Not applicable
Author

Hi shong,

Thanks for your reply! Yes, I checked the modules viewer and the jar "aws-java-sdk-1.9.13" is installed.

Is there anything else that I can check? Based on this forum post, it seems to be a bug in the component, but the fix described there didn't work for me: https://www.talendforge.org/forum/viewtopic.php?id=45166

Thanks,

Porter
Anonymous
Not applicable
Author

Hi Porter

I see a jira issue have been reported on our bugtracker, but our developers can't reproduce the issue. I think you need to provides more details about your studio installation, which OS? JDK version?

FYI, I don't have this issue on version 6.1.1.
Anonymous
Not applicable
Author

We are using Talend version 5.6.2 (Build id: 20150508_1414).
Java version 1.7.0_79
It is running on Windows Server 2012 R2 Standard.
Anonymous
Not applicable
Author

I am having the same issue.
I managed to use the S3 components by adding the following library dependencies (with tlibraryload)
aws-java-sdk-1.10.46.jar
httpclient-4.3.4.jar
httpcore-4.3.2.jar
Anonymous
Not applicable
Author

Hi,

I added the tLibraryLoad components to load those three libraries, and it did not change the error that I got.

Talend support also got back to us, and sent us the file joda-time-2.3.jar, which I added to another tLibraryLoad component. None of these seem to be working. I guess this component just doesn't work in 5.6...
Anonymous
Not applicable
Author

Hi porter.james

Have you tried to install these jars from Talend Modules views instead of loading them with tLibraryLoad.