Last Updated: February 25, 2016
·
461
· jungly

DynamoDBHashKey Annotation Madness

Resolving 'No method annotated with annotation DynamoDBHashKey'

import com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.DynamoDBHashKey;

instead of

import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBHashKey;

As seemingly incorrectly mentioned at http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/JavaSDKHighLevel.html