Quarkus 3 native image fail to start with Hibernate.generator
error
#32725
Labels
area/hibernate-orm
Hibernate ORM
area/jbang
Issues related to when using jbang.dev with Quarkus
area/persistence
kind/bug
Something isn't working
Describe the bug
Getting error
Failed to start application (with profile [prod]): java.lang.NoSuchMethodException: org.hibernate.generator.internal.GeneratedGeneration.<init>()
on application startup after migrating to Quarkus 3.Expected behavior
Application should run
Actual behavior
Getting runtime error:
How to Reproduce?
./mvnw package -Pnative
Output of
uname -a
orver
Linux MASTER 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk version "17.0.6" 2023-01-17 OpenJDK Runtime Environment Temurin-17.0.6+10 (build 17.0.6+10) OpenJDK 64-Bit Server VM Temurin-17.0.6+10 (build 17.0.6+10, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.16.6.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537) Maven home: /home/omar/.m2/wrapper/dists/apache-maven-3.8.4-bin/52ccbt68d252mdldqsfsn03jlf/apache-maven-3.8.4 Java version: 17.0.6, vendor: Eclipse Adoptium, runtime: /home/omar/.jbang/cache/jdks/17 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "5.15.90.1-microsoft-standard-wsl2", arch: "amd64", family: "unix"
Additional information
No response
The text was updated successfully, but these errors were encountered: