You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.
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)
The text was updated successfully, but these errors were encountered:
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 freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
commandThe text was updated successfully, but these errors were encountered: