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
When configuring hibernate and panache to run with envers one gets the [error]: Build step io.quarkus.hibernate.orm.panache.deployment.PanacheHibernateResourceProcessor#validate threw an exception: java.lang.IllegalStateException: io.quarkus.builder.BuildException: Build failure: The class org.hibernate.envers.DefaultRevisionEntity is not inside the Jandex index.
The envers main classes should be added to the jandexindex.
Actual behavior
[error]: Build step io.quarkus.hibernate.orm.panache.deployment.PanacheHibernateResourceProcessor#validate threw an exception: java.lang.IllegalStateException: io.quarkus.builder.BuildException: Build failure: The class org.hibernate.envers.DefaultRevisionEntity is not inside the Jandex index.
How to Reproduce?
quarkus 3.8.4, java 17, set up a small db postgresql, get basic hibernate and panache orm working, add quarks envers, with correct audit tables, see the error above upon running.
Output of uname -a or ver
No response
Output of java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of mvnw --version or gradlew --version)
No response
Additional information
I can probally find the time soon to add a small mvn-example of this.
The text was updated successfully, but these errors were encountered:
Describe the bug
When configuring hibernate and panache to run with envers one gets the [error]: Build step io.quarkus.hibernate.orm.panache.deployment.PanacheHibernateResourceProcessor#validate threw an exception: java.lang.IllegalStateException: io.quarkus.builder.BuildException: Build failure: The class org.hibernate.envers.DefaultRevisionEntity is not inside the Jandex index.
I peeked in the code, https://github.com/quarkusio/quarkus/blob/3b6f5c3904a7ad5dc3aa2bad375e1ca076e7c844/extensions/panache/hibernate-orm-panache/deployment/src/main/java/io/quarkus/hibernate/orm/panache/deployment/PanacheHibernateResourceProcessor.java does not seem to have logic for or inherit any of the logic for adding envers to the jandex index. As can be seen here https://github.com/quarkusio/quarkus/pull/12476/files# for example.
Expected behavior
The envers main classes should be added to the jandexindex.
Actual behavior
[error]: Build step io.quarkus.hibernate.orm.panache.deployment.PanacheHibernateResourceProcessor#validate threw an exception: java.lang.IllegalStateException: io.quarkus.builder.BuildException: Build failure: The class org.hibernate.envers.DefaultRevisionEntity is not inside the Jandex index.
How to Reproduce?
quarkus 3.8.4, java 17, set up a small db postgresql, get basic hibernate and panache orm working, add quarks envers, with correct audit tables, see the error above upon running.
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
I can probally find the time soon to add a small mvn-example of this.
The text was updated successfully, but these errors were encountered: