alexa / alexa-skills-kit-sdk-for-java

The Alexa Skills Kit SDK for Java helps you get a skill up and running quickly, letting you focus on skill logic instead of boilerplate code.
http://developer.amazon.com/ask
Apache License 2.0
815 stars 748 forks source link

ScoreKeeper DynamoDB Setup instructions have the wrong primary key type #27

Closed rynfld closed 7 years ago

rynfld commented 7 years ago

DynamoDB Setup instructions in the README for the ScoreKeeper sample say to use "Hash" as the primary key type when it should be "String".

katariarahul commented 7 years ago

Hi, i am working on to setup scorekeeper for alexa from the link https://github.com/amzn/alexa-skills-kit-java/blob/master/samples/src/main/java/scorekeeper/README.md.

I have setup everything as mentioned in the link but while doing testing from Service Simulator, i am getting following error in lambda (CloudWatch)

Class not found: scorekeeper.ScoreKeeperSpeechletRequestStreamHandler: class java.lang.ClassNotFoundException java.lang.ClassNotFoundException: scorekeeper.ScoreKeeperSpeechletRequestStreamHandler at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348)

Can you please guide in getting this resolve. Thanks.