Advertisement
Harman5007

Docker Deploy Error

Apr 24th, 2023
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 KB | Source Code | 0 0
  1. Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.11.1/plexus-compiler-javac-2.11.1.jar (23 kB at 131 kB/s)
  2. Apr 24 08:38:02 PM #11 20.63 Downloaded from central: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0.1/qdox-2.0.1.jar (334 kB at 1.9 MB/s)
  3. Apr 24 08:38:02 PM #11 20.63 Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.4.1/plexus-utils-3.4.1.jar (264 kB at 1.5 MB/s)
  4. Apr 24 08:38:02 PM #11 20.82 [INFO] Changes detected - recompiling the module!
  5. Apr 24 08:38:02 PM #11 20.83 [INFO] Compiling 46 source files to /target/classes
  6. Apr 24 08:38:02 PM #11 21.15 [INFO] ------------------------------------------------------------------------
  7. Apr 24 08:38:02 PM #11 21.15 [INFO] BUILD FAILURE
  8. Apr 24 08:38:02 PM #11 21.15 [INFO] ------------------------------------------------------------------------
  9. Apr 24 08:38:02 PM #11 21.15 [INFO] Total time: 18.592 s
  10. Apr 24 08:38:02 PM #11 21.15 [INFO] Finished at: 2023-04-24T15:08:02Z
  11. Apr 24 08:38:02 PM #11 21.15 [INFO] ------------------------------------------------------------------------
  12. Apr 24 08:38:02 PM #11 21.15 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project Hostel-Availability-System: Fatal error compiling: error: invalid target release: 17 -> [Help 1]
  13. Apr 24 08:38:02 PM #11 21.15 [ERROR]
  14. Apr 24 08:38:02 PM #11 21.15 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  15. Apr 24 08:38:02 PM #11 21.15 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  16. Apr 24 08:38:02 PM #11 21.15 [ERROR]
  17. Apr 24 08:38:02 PM #11 21.15 [ERROR] For more information about the errors and possible solutions, please read the following articles:
  18. Apr 24 08:38:02 PM #11 21.15 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  19. Apr 24 08:38:02 PM #11 ERROR: process "/bin/sh -c mvn clean install" did not complete successfully: exit code: 1
  20. Apr 24 08:38:02 PM ------
  21. Apr 24 08:38:02 PM > [build 3/3] RUN mvn clean install:
  22. Apr 24 08:38:02 PM #11 21.15 [INFO] Total time: 18.592 s
  23. Apr 24 08:38:02 PM #11 21.15 [INFO] Finished at: 2023-04-24T15:08:02Z
  24. Apr 24 08:38:02 PM #11 21.15 [INFO] ------------------------------------------------------------------------
  25. Apr 24 08:38:02 PM #11 21.15 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project Hostel-Availability-System: Fatal error compiling: error: invalid target release: 17 -> [Help 1]
  26. Apr 24 08:38:02 PM #11 21.15 [ERROR]
  27. Apr 24 08:38:02 PM #11 21.15 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  28. Apr 24 08:38:02 PM #11 21.15 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  29. Apr 24 08:38:02 PM #11 21.15 [ERROR]
  30. Apr 24 08:38:02 PM #11 21.15 [ERROR] For more information about the errors and possible solutions, please read the following articles:
  31. Apr 24 08:38:02 PM #11 21.15 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  32. Apr 24 08:38:02 PM ------
  33. Apr 24 08:38:02 PM Dockerfile:12
  34. Apr 24 08:38:02 PM --------------------
  35. Apr 24 08:38:02 PM 10 | #
  36. Apr 24 08:38:02 PM 11 | # # Build a release artifact.
  37. Apr 24 08:38:02 PM 12 | >>> RUN mvn clean install
  38. Apr 24 08:38:02 PM 13 |
  39. Apr 24 08:38:02 PM 14 |
  40. Apr 24 08:38:02 PM --------------------
  41. Apr 24 08:38:02 PM error: failed to solve: process "/bin/sh -c mvn clean install" did not complete successfully: exit code: 1
  42. Apr 24 08:38:02 PM error: exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement