You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to reach out to report a possible issue with spring boot 3.2.4, building native image with graalvm for jdk22
On a simple mvn spring-boot:build-image with graalvm and JDK22, there is this error:
[INFO] <<< spring-boot:3.2.4:build-image (default-cli) < package @ myproject <<<
[INFO]
[INFO]
[INFO] --- spring-boot:3.2.4:build-image (default-cli) @ myproject ---
[INFO] Building image 'docker.io/library/myproject:1.1'
[INFO]
[INFO] > Pulling builder image 'docker.io/paketobuildpacks/builder-jammy-base:latest' 1%
[INFO] > Pulling builder image 'docker.io/paketobuildpacks/builder-jammy-base:latest' 2%
[INFO] > Pulling builder image 'docker.io/paketobuildpacks/builder-jammy-base:latest' 3%
[INFO] > Pulling builder image 'docker.io/paketobuildpacks/builder-jammy-base:latest' 11%
[INFO] > Pulling builder image 'docker.io/paketobuildpacks/builder-jammy-base:latest' 18%
[INFO] > Pulling builder image 'docker.io/paketobuildpacks/builder-jammy-base:latest' 31%
[INFO] > Pulling builder image 'docker.io/paketobuildpacks/builder-jammy-base:latest' 38%
[INFO] > Pulling builder image 'docker.io/paketobuildpacks/builder-jammy-base:latest' 43%
[INFO] > Pulling builder image 'docker.io/paketobuildpacks/builder-jammy-base:latest' 58%
[INFO] > Pulling builder image 'docker.io/paketobuildpacks/builder-jammy-base:latest' 62%
[INFO] > Pulling builder image 'docker.io/paketobuildpacks/builder-jammy-base:latest' 100%
[INFO] > Pulled builder image 'paketobuildpacks/builder-jammy-base@sha256:a913462b288209172cb7626c2ded55843002a7aa1a6bc87e9af52be1ab5511fc'
[INFO] > Pulling run image 'docker.io/paketobuildpacks/run-jammy-base:latest' 100%
[INFO] > Pulled run image 'paketobuildpacks/run-jammy-base@sha256:8431203470391fc58454b71bdb917f53c20f403892fbb447f4ea5265a8d7cf49'
[INFO] > Executing lifecycle version v0.19.0
[INFO] > Using build cache volume 'pack-cache-0fbf249b0dea.build'
[INFO]
[INFO] > Running creator
[INFO] [creator] ===> ANALYZING
[INFO] [creator] Image with name "docker.io/library/myproject:1.1" not found
[INFO] [creator] ===> DETECTING
[INFO] [creator] 6 of 26 buildpacks participating
[INFO] [creator] paketo-buildpacks/ca-certificates 3.6.8
[INFO] [creator] paketo-buildpacks/bellsoft-liberica 10.5.3
[INFO] [creator] paketo-buildpacks/syft 1.45.0
[INFO] [creator] paketo-buildpacks/executable-jar 6.8.4
[INFO] [creator] paketo-buildpacks/dist-zip 5.6.9
[INFO] [creator] paketo-buildpacks/spring-boot 5.27.10
[INFO] [creator] ===> RESTORING
[INFO] [creator] ===> BUILDING
[INFO] [creator]
[INFO] [creator] Paketo Buildpack for CA Certificates 3.6.8
[INFO] [creator] https://github.com/paketo-buildpacks/ca-certificates
[INFO] [creator] Launch Helper: Contributing to layer
[INFO] [creator] Creating /layers/paketo-buildpacks_ca-certificates/helper/exec.d/ca-certificates-helper
[INFO] [creator]
[INFO] [creator] Paketo Buildpack for BellSoft Liberica 10.5.3
[INFO] [creator] https://github.com/paketo-buildpacks/bellsoft-liberica
[INFO] [creator] Build Configuration:
[INFO] [creator] $BP_JVM_JLINK_ARGS --no-man-pages --no-header-files --strip-debug --compress=1 configure custom link arguments (--output must be omitted)
[INFO] [creator] $BP_JVM_JLINK_ENABLED false enables running jlink tool to generate custom JRE
[INFO] [creator] $BP_JVM_TYPE JRE the JVM type - JDK or JRE
[INFO] [creator] $BP_JVM_VERSION 17 the Java version
[INFO] [creator] Launch Configuration:
[INFO] [creator] $BPL_DEBUG_ENABLED false enables Java remote debugging support
[INFO] [creator] $BPL_DEBUG_PORT 8000 configure the remote debugging port
[INFO] [creator] $BPL_DEBUG_SUSPEND false configure whether to suspend execution until a debugger has attached
[INFO] [creator] $BPL_HEAP_DUMP_PATH write heap dumps on error to this path
[INFO] [creator] $BPL_JAVA_NMT_ENABLED true enables Java Native Memory Tracking (NMT)
[INFO] [creator] $BPL_JAVA_NMT_LEVEL summary configure level of NMT, summary or detail
[INFO] [creator] $BPL_JFR_ARGS configure custom Java Flight Recording (JFR) arguments
[INFO] [creator] $BPL_JFR_ENABLED false enables Java Flight Recording (JFR)
[INFO] [creator] $BPL_JMX_ENABLED false enables Java Management Extensions (JMX)
[INFO] [creator] $BPL_JMX_PORT 5000 configure the JMX port
[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] Using Java version 22 extracted from MANIFEST.MF
[INFO] [creator] No valid JRE available, providing matching JDK instead. Using a JDK at runtime has security implications.
[INFO] [creator] : Contributing to layer
[INFO] [creator] Warning: Dependency has no SHA256. Skipping cache.
[INFO] [creator] Downloading from
[INFO] [creator] unable to invoke layer creator
[INFO] [creator] unable to get dependency
[INFO] [creator] unable to download
[INFO] [creator] unable to request
[INFO] [creator] Get "": unsupported protocol scheme ""
[INFO] [creator] ERROR: failed to build: exit status 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:25 min
[INFO] Finished at: 2024-03-26T01:13:40Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.2.4:build-image (default-cli) on project myproject: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:3.2.4:build-image failed: Builder lifecycle 'creator' failed with status code 51 -> [Help 1]
[ERROR]
I can see:
[INFO] [creator] $BP_JVM_VERSION 17 the Java version
[INFO] [creator] $JAVA_TOOL_OPTIONS the JVM launch flags
[INFO] [creator] Using Java version 22 extracted from MANIFEST.MF
[INFO] [creator] No valid JRE available, providing matching JDK instead. Using a JDK at runtime has security implications.
Could you please help by having a look at this issue?
Could you please allow the packeto to support JDK22?
Thank you
The text was updated successfully, but these errors were encountered:
Hello team,
I would like to reach out to report a possible issue with spring boot 3.2.4, building native image with graalvm for jdk22
On a simple
mvn spring-boot:build-image
with graalvm and JDK22, there is this error:I can see:
[INFO] [creator] $BP_JVM_VERSION 17 the Java version
[INFO] [creator] $JAVA_TOOL_OPTIONS the JVM launch flags
[INFO] [creator] Using Java version 22 extracted from MANIFEST.MF
[INFO] [creator] No valid JRE available, providing matching JDK instead. Using a JDK at runtime has security implications.
Could you please help by having a look at this issue?
Could you please allow the packeto to support JDK22?
Thank you
The text was updated successfully, but these errors were encountered: