@NodeEntity + ClassNotFoundException = Error executing query : Error mapping GraphModel. Rolling back transaction

Hi,

I'm using Quarkus OGM 3.11.0 (neo4j-ogm-core 4.0.13) and I have an issue with some entities. In org.neo4j.ogm.metadata.DescriptorMappings#computeType(String) (line 128) a ClassNotFoundException is raised because the Class.forName don't find my entity class so it returns null (line 130).

During Quarkus startup, the same method is called with the same class (Company) and it's working, but when I'm loading a class (User) with a relationship with Company, it fails.

Regards,
David

Did you annotate all of your entity classes? There is a test in the ogm-quarkus project, testing about the same as your use-case: neo4j-ogm-quarkus/integration-tests/src/test/java/org/neo4j/ogm/quarkus/it/Neo4jOgmResourcesIT.java at 3932b05229224e3b2460f9f934a5ea3113fcfc8c · neo4j/neo4j-ogm-quarkus · GitHub (follow the Movie from here).
Otherwise, we are happy to have a look at a reproducer.

It was a date/datetime converter issue. I removed converter and now it's ok.