Running with gitlab-runner 17.6.0 (374d34fd)
  on global-arm-runner t1_EGjbw, system ID: r_pkAiw4bGyd4B
section_start:1743134317:prepare_executor
Preparing the "docker" executor
Using Docker executor with image gliderlabs/herokuish:latest ...
Starting service postgres:9.6.16...
Pulling docker image postgres:9.6.16 ...
Using docker image sha256:9706bc1df961358808bfd77c775181ec51651ad54e6cb57fc25f9b6381ad04a8 for postgres:9.6.16 with digest postgres@sha256:d6a6badb2b5b22de5e135490a217522cecc2ae90fe35b33290615827569310a1 ...
Waiting for services to be up and running (timeout 30 seconds)...
Pulling docker image gliderlabs/herokuish:latest ...
Using docker image sha256:07aa3257d8d8bbae15b3c2aac064fa9140387300e8650bcaeae884598a7f51ca for gliderlabs/herokuish:latest with digest gliderlabs/herokuish@sha256:832eb50bd9d7549e3c26044d106b9e41837295595466e9147f9ce8bdc7926afb ...
section_end:1743134326:prepare_executor
section_start:1743134326:prepare_script
Preparing environment
Running on runner-t1egjbw-project-15629-concurrent-0 via 152e03576ada...
section_end:1743134327:prepare_script
section_start:1743134327:get_sources
Getting source from Git repository
Fetching changes with git depth set to 20...
Reinitialized existing Git repository in /builds/jhm991231/spring-basic/.git/
Checking out 037a1a5e as detached HEAD (ref is main)...

Skipping Git submodules setup
section_end:1743134328:get_sources
section_start:1743134328:step_script
Executing "step_script" stage of the job script
Using docker image sha256:07aa3257d8d8bbae15b3c2aac064fa9140387300e8650bcaeae884598a7f51ca for gliderlabs/herokuish:latest with digest gliderlabs/herokuish@sha256:832eb50bd9d7549e3c26044d106b9e41837295595466e9147f9ce8bdc7926afb ...
$ if [ -z ${KUBERNETES_PORT+x} ]; then # collapsed multi-line command
$ export DATABASE_URL="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DB_HOST}:5432/${POSTGRES_DB}"
$ cp -R . /tmp/app
$ /bin/herokuish buildpack test
-----> Java app detected

 !     WARNING: No OpenJDK version specified
 !     
 !     Your application does not explicitly specify an OpenJDK
 !     version. OpenJDK 1.8 will be installed.
 !     
 !     This default version will change at some point. Your
 !     application might fail to build with the new version. We
 !     recommend explicitly setting the required OpenJDK version for
 !     your application.
 !     
 !     To set the OpenJDK version, add or edit the system.properties
 !     file in the root directory of your application to contain:
 !     
 !     java.runtime.version = 1.8

-----> Installing Heroku OpenJDK 1.8.0_442
-----> Executing Maven
       $ ./mvnw clean dependency:resolve-plugins test-compile
/app/.m2/wrapper/dists/apache-maven-3.9.9/3477a4f1/bin/mvn: 199: exec: /tmp/build/.jdk/bin/java: Exec format error

 !     ERROR: Failed to build app with Maven
       We're sorry this build is failing! If you can't find the issue in application code,
       please submit a ticket so we can help: https://help.heroku.com/

section_end:1743134341:step_script
section_start:1743134341:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1743134342:cleanup_file_variables
ERROR: Job failed: exit code 1