2 years ago
which version of java available in the server.
10 10.85 [INFO] BUILD FAILURE
10 10.85 [INFO] ------------------------------------------------------------------------
10 10.86 [INFO] Total time: 8.639 s
10 10.86 [INFO] Finished at: 2024-04-10T04:44:49Z
10 10.86 [INFO] ------------------------------------------------------------------------
10 10.86 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project hrms: Fatal error compiling: error: release version 1.8 not supported -> [Help 1]
10 10.86 [ERROR]
10 10.86 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
10 10.86 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
10 10.86 [ERROR]
10 10.86 [ERROR] For more information about the errors and possible solutions, please read the following articles:
10 10.86 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
10 ERROR: process "/bin/bash -ol pipefail -c chmod +x ./mvnw && ./mvnw -DoutputFile=target/mvn-dependency-list.log -B -DskipTests clean dependency:list install" did not complete successfully: exit code: 1
[stage-0 6/7] RUN --mount=type=cache,id=s/e3464c29-237b-4d91-b782-0f9e440656e5-m2/repository,target=/app/.m2/repository chmod +x ./mvnw && ./mvnw -DoutputFile=target/mvn-dependency-list.log -B -DskipTests clean dependency:list install:
10.86 [INFO] Total time: 8.639 s
10.86 [INFO] Finished at: 2024-04-10T04:44:49Z
10.86 [INFO] ------------------------------------------------------------------------
10.86 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project hrms: Fatal error compiling: error: release version 1.8 not supported -> [Help 1]
10.86 [ERROR]
10.86 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
10.86 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
10.86 [ERROR]
10.86 [ERROR] For more information about the errors and possible solutions, please read the following articles:
10.86 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Dockerfile:19
17 | # build phase
18 | COPY . /app/.
19 | >>> RUN --mount=type=cache,id=s/e3464c29-237b-4d91-b782-0f9e440656e5-m2/repository,target=/app/.m2/repository chmod +x ./mvnw && ./mvnw -DoutputFile=target/mvn-dependency-list.log -B -DskipTests clean dependency:list install
20 |
21 |
ERROR: failed to solve: process "/bin/bash -ol pipefail -c chmod +x ./mvnw && ./mvnw -DoutputFile=target/mvn-dependency-list.log -B -DskipTests clean dependency:list install" did not complete successfully: exit code: 1
Error: Docker build failed
ⓘ Deployment information is only viewable by Project members and Railway admins.