-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
authorization-server docker镜像打包报错 #186
Comments
说的是没找到jar包,先编译出jar包在build镜像 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Step 3/4 : ADD authorization-server-0.0.1-SNAPSHOT.jar app.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.595 s
[INFO] Finished at: 2021-01-04T23:50:23-08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:1.2.0:build (default-cli) on project authorization-server: Exception caught: ADD failed: file not found in build context or excluded by .dockerignore: stat authorization-server-0.0.1-SNAPSHOT.jar: file does not exist -> [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
The text was updated successfully, but these errors were encountered: