spring-boot:build-image is downloading graalvm linux amd on windows machine #3782
Unanswered
venkataklagisetty
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just created new project from spring initializer with spring native and spring web.
there is no code change
I have graalvm windows version installed and native image installed as well using native tools.
But every time I mvn spring-boot:build-image , build is failing.
I observed it is loading some linux jars.
Here is the error on running above command
[INFO] [creator] Paketo GraalVM Buildpack 6.4.1
[INFO] [creator] https://github.com/paketo-buildpacks/graalvm
[INFO] [creator] Build Configuration:
[INFO] [creator] $BP_JVM_VERSION 11.* the Java version
[INFO] [creator] Launch Configuration:
[INFO] [creator] $BPL_HEAP_DUMP_PATH write heap dumps on error to this path
[INFO] [creator] $BPL_JVM_HEAD_ROOM 0 the headroom in memory calculation
[INFO] [creator] $BPL_JVM_LOADED_CLASS_COUNT 35% of classes the number of loaded classes in memory calculation
[INFO] [creator] $BPL_JVM_THREAD_COUNT 250 the number of threads in memory calculation
[INFO] [creator] $JAVA_TOOL_OPTIONS the JVM launch flags
[INFO] [creator] GraalVM JDK 11.0.12: Contributing to layer
[INFO] [creator] Downloading from https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-21.2.0/graalvm-ce-java11-linux-amd64-21.2.0.tar.gz
[INFO] [creator] unable to invoke layer creator
[INFO] [creator] unable to get dependency jdk
[INFO] [creator] unable to download https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-21.2.0/graalvm-ce-java11-linux-amd64-21.2.0.tar.gz
[INFO] [creator] unable to request https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-21.2.0/graalvm-ce-java11-linux-amd64-21.2.0.tar.gz
[INFO] [creator] Get "https://github-releases.githubusercontent.com/222889977/560febf2-7974-4156-a2f6-dce0941c600c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210910%2Fus-
east-1%2Fs3%2Faws4_request&X-Amz-Date=20210910T182947Z&X-Amz-Expires=300&X-Amz-Signature=cd99e26fa6c171205a395913e6bcdd2c693ddd3f9a5525051943baf4ba24bacc&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=222
889977&response-content-disposition=attachment%3B%20filename%3Dgraalvm-ce-java11-linux-amd64-21.2.0.tar.gz&response-content-type=application%2Foctet-stream": x509: certificate signed by unknown authority
[INFO] [creator] ERROR: failed to build: exit status 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
Beta Was this translation helpful? Give feedback.
All reactions