Skip to content

Instantly share code, notes, and snippets.

@lakinwecker
Created November 20, 2019 16:57
Show Gist options
  • Save lakinwecker/84b8ba2c8e255b79217b3cae3e848a14 to your computer and use it in GitHub Desktop.
Save lakinwecker/84b8ba2c8e255b79217b3cae3e848a14 to your computer and use it in GitHub Desktop.
[INFO] Running: websocket-server (io.netty.example.http.websocketx.server.WebSocketServer -D_ -Dport=9000)
Error: Could not find or load main class
Caused by: java.lang.ClassNotFoundException:
[ERROR] Failed to execute goal kr.motd.maven:exec-maven-plugin:1.0.0.Final:exec (default-cli) on project netty-example: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment