Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Issue on running the HelloWorld alexa-skill-kit Sample from the Command Line #4

Open
PrithiviRajG opened this issue Nov 21, 2017 · 1 comment

Comments

@PrithiviRajG
Copy link

I am trying to run Hello world alexa skill kit java sample from command line using this documentation. I am able to build the jar successfully but I am getting the below exception on trying to run the sample with mvn exec:java -Dexec.executable=”java” -DdisableRequestSignatureCheck=true command

java.lang.ClassNotFoundException: Launcher
        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 org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:285)
        at java.lang.Thread.run(Thread.java:748)
@ghost
Copy link

ghost commented Feb 28, 2018

For anyone else who has come across the same issue as I did today.

The reason the Launcher class cannot be found is because it does not currently exist in this repo. From what I can see it looks like the samples were moved from the alexa-skills-kit-java repo into this one but the Launcher class was not included. The latest version of alexa-skills-kit-java which does include Launcher appears to be this one: https://github.com/alexa/alexa-skills-kit-java/releases/tag/1.6.0.

Hopefully either this repo or the documentation will be updated as this is confusing to those of us new to alexa development.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant