Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Fix broken gradle bootBuildImage #1000

Closed
sdeleuze opened this issue Aug 26, 2021 · 1 comment
Closed

Fix broken gradle bootBuildImage #1000

sdeleuze opened this issue Aug 26, 2021 · 1 comment
Assignees
Labels
type: bug A general bug
Milestone

Comments

@sdeleuze
Copy link
Contributor

Tested on commandlinerunner-gradle, gradle bootBuildImage works on main not on 0.11.x. The error Class initialization of org.springframework.beans.CachedIntrospectionResults failed. Use the option --initialize-at-run-time=org.springframework.beans.CachedIntrospectionResults to explicitly request delayed initialization of this class suggests generated sources are not taken in account.

@sdeleuze sdeleuze added the type: bug A general bug label Aug 26, 2021
@sdeleuze sdeleuze added this to the 0.11.0 milestone Aug 26, 2021
bclozel added a commit that referenced this issue Aug 27, 2021
Prior to this commit, the sample CommandLineRunner application would be
built with JDK8. This would trigger the selection of the JDK8 GraalVM
toolkit by the buildpack, and fail the build process.

Spring Native requires now JDK11 and this commit ensures that this
sample application reflects that.

Fixes gh-1000
@bclozel
Copy link
Contributor

bclozel commented Aug 27, 2021

Closed with 1c26350

@bclozel bclozel closed this as completed Aug 27, 2021
snicoll pushed a commit that referenced this issue Sep 28, 2021
Prior to this commit, the sample CommandLineRunner application would be
built with JDK8. This would trigger the selection of the JDK8 GraalVM
toolkit by the buildpack, and fail the build process.

Spring Native requires now JDK11 and this commit ensures that this
sample application reflects that.

Fixes gh-1000
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A general bug
Development

No branches or pull requests

2 participants