quarkus Native build fails #47096
Labels
area/hibernate-orm
Hibernate ORM
area/native-image
kind/bug
Something isn't working
triage/needs-reproducer
We are waiting for a reproducer.
Error:
Error: Caused by: com.oracle.svm.hosted.substitute.DeletedElementException: Unsupported type org.hibernate.boot.xsd.ConfigXsdSupport is reachable
To diagnose the issue, you can add the option --report-unsupported-elements-at-runtime. The unsupported element is then reported at run time when it is accessed the first time.
Expected behavior
Build should succeed.
Actual behavior
Build fails with exception.
How to Reproduce?
dependencies
`
Do native build:
./mvnw install -Dnative -DskipTests
It fails with error:
Output of java -version
java version "17.0.7" 2023-04-18 LTS
Java(TM) SE Runtime Environment (build 17.0.7+8-LTS-224)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.7+8-LTS-224, mixed mode, sharing)
Mandrel or GraalVM
Mandrel 23.0.0.0-Final
Maven
Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0)
Maven home: C:\Dev\AppServer\apache-maven-3.8.5
Java version: 17.0.7, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-17
Default locale: en_US, platform encoding: MS874
OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows"
The text was updated successfully, but these errors were encountered: