Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring Boot 3.2.3 + Native Image Compile broken with JPA/Hibernate #3380

Closed
goafabric opened this issue Feb 23, 2024 · 1 comment
Closed
Labels
for: external-project For an external project and not something we can fix

Comments

@goafabric
Copy link

goafabric commented Feb 23, 2024

Compiling Native Images with Spring Boot 3.2.3 + Spring Data JPA,
is unfortunately DOA.

gradle(w) nativeCompile results ins:

Error: Could not find target method: public static org.hibernate.bytecode.spi.BytecodeProvider org.springframework.orm.jpa.vendor.Target_BytecodeProviderInitiator.buildBytecodeProvider(java.lang.String)

Please See the simple Demo app attached, generated from Start.Spring.IO

I already tried to set Reflection Hints for this, but to no avail.

demo.zip

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 23, 2024
@christophstrobl
Copy link
Member

Please see: spring-projects/spring-framework#32311 for details.

@christophstrobl christophstrobl closed this as not planned Won't fix, can't repro, duplicate, stale Feb 23, 2024
@christophstrobl christophstrobl added for: external-project For an external project and not something we can fix and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: external-project For an external project and not something we can fix
Projects
None yet
Development

No branches or pull requests

3 participants