Skip to Content
1
Former Member
May 17, 2017 at 12:53 PM

Cannot import Amazon package com.amazonaws in my service - Hybris 6.3

277 Views

Hi Experts,

My requirement is to retrieve the image URL from Amazon S3 bucket and add to media in hybris. Here I am looking to storing the image in Amazon S3 through hybris, but I just want to retrieve already existing image URL from Amazon S3 in Hybris. For this I was using below packages to get the URL. But I am facing errors.

import com.amazonaws.AmazonClientException; import com.amazonaws.AmazonServiceException; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.services.s3.AmazonS3; import com.amazonaws.services.s3.AmazonS3Client;

Error : The import com.amazonaws cannot be resolved

Can anyone please let me know, what setting has to be done for this.

Regards, Lavanya K