java persistence collection of metamodel types is empty
While deploying my jpa project to wildfly server i am gettings following warning:
The collection of metamodel types is empty.
Model classes may not have been found during entity
search for Java SE and some Java EE container managed persistence units.
Please verify that your entity classes are referenced in persistence.xml using
either elements or a global false element
My persistence xml looks like this
org.eclipse.persistence.jpa.PersistenceProvider
java:jboss/datasources/example
false
My Database tables are not created due to this.
Please help me understand this problem. As i am not able to understand the root cause of this.