AWS DynamoDB tutorial does not import certain classes

0 votes

I am trying to follow a tutorial for DynamoDB on the AWS website: http://aws.amazon.com/articles/7439603059327617 I downloaded the file, imported it to Eclipse, imported all the necessary libraries (or literally, all the libraries that came with the GitHub file), but DynamoDBManager.java would keep giving me the dreaded "The import com. amazon... cannot be resolved" error for the following lines:

import com.amazonaws.services.dynamodbv2.model.DynamoDBAttribute; 
import com.amazonaws.services.dynamodbv2.model.DynamoDBHashKey; 
import com.amazonaws.services.dynamodbv2.model.DynamoDBMapper; 
import com.amazonaws.services.dynamodbv2.model.DynamoDBScanExpression; 
import com.amazonaws.services.dynamodbv2.model.DynamoDBTable;
import com.amazonaws.services.dynamodbv2.model.PaginatedScanList;


But library is imported for all other classes such as

import com.amazonaws.services.dynamodbv2.model.AttributeDefinition; 
import com.amazonaws.services.dynamodbv2.model.CreateTableRequest; 
import com.amazonaws.services.dynamodbv2.model.DeleteTableRequest; 
import com.amazonaws.services.dynamodbv2.model.DescribeTableRequest; 
import com.amazonaws.services.dynamodbv2.model.DescribeTableResult; 
import com.amazonaws.services.dynamodbv2.model.KeySchemaElement; 
import com.amazonaws.services.dynamodbv2.model.KeyType; 
import com.amazonaws.services.dynamodbv2.model.ProvisionedThroughput; 
import com.amazonaws.services.dynamodbv2.model.ResourceNotFoundException;
import com.amazonaws.services.dynamodbv2.model.ScalarAttributeType;


Did anyone else run into a similar problem? Could you please direct me in the right direction?!

Thank you in advance & for reading!

Apr 12, 2022 in IoT (Internet of Things) by Rahul
• 9,680 points
539 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In IoT (Internet of Things)

0 votes
1 answer

AWS IoT login from android MQTT client using IAM is not working

Seeing your comments and questions. I had ...READ MORE

answered Jul 24, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
2,346 views
0 votes
0 answers
0 votes
1 answer

AWS : updating DynamoDB

DynamoDb range key cannot have null attributes. ...READ MORE

answered Jan 28, 2019 in IoT (Internet of Things) by Upasana
• 8,620 points
849 views
0 votes
1 answer
0 votes
0 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP