JPA's autodetection of @Entity annotated classes doesn't work

Description

I have problem with autodetecting annotated entities by OGM. I found the same problem in issues: and and they ware resolved.

I've made a minimal example repository to reproduce: https://bitbucket.org/JarekW/hibernate-ogm-autodetection-issue/

steps:
mvn clean package and deploy to wildfly.
Comment out "<class>" declaration in persistence.xml, deploy again and you will get:

Environment

java 11-oracle
wildfly 18.0.1

Assignee

Unassigned

Reporter

Jarek Wi