Skip to content

Instantly share code, notes, and snippets.

@IvanShafran
Created December 4, 2015 13:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IvanShafran/ce9a3534b7c3a0fbf92d to your computer and use it in GitHub Desktop.
Save IvanShafran/ce9a3534b7c3a0fbf92d to your computer and use it in GitHub Desktop.
D:\Problems\_technotrack\1sem\java\technotrack-mail-java-1sem>mvn exec:exec -DServer
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for ru.mail.track:messenger:jar:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for com.oracle:ojdbc:jar should not point at files within the project directory, ${basedir}/lib/ojdbc6.jar will be unresolvable by depe
ndent projects @ line 104, column 25
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building messenger 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.4.0:exec (default-cli) @ messenger ---
Error: Could not find or load main class ru.mail.track.socket_messenger.net.server.SocketServer
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.384 s
[INFO] Finished at: 2015-12-04T15:06:36+02:00
[INFO] Final Memory: 8M/164M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (default-cli) on project messenger: Command execution failed. Process exited with an error: 1 (Exit valu
e: 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