Unable to locate persister

We are migrating our project to use hibernate 5.0.9 on EAP7
We are using JPA to create entitymanagerfactory.

we get stuck and get error “Unable to locate persister”

You need to post the Stack Trace and the configuration your are using to bootstrap Hibernate.

seems i forget to add entity in persistent,xml

it works after doing so…