org.hibernate.MappingException: Unknown entity: com.web.erp4j.security.model.Factura

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via openxava by freddycucho
, 1 year ago
Unknown entity: com.web.erp4j.security.model.Factura
via com.br by Unknown author, 1 year ago
Unknown entity: br.com.ciadamemoria.Pessoa
via Coderanch by Mathew Lee, 11 months ago
Unknown entity: com.vaannila.student.Student
via Stack Overflow by Krunal
, 1 year ago
Unknown entity: org.hibernate.impl.SessionImpl
via Stack Overflow by pratt
, 1 year ago
Unknown entity: com.myproject.hibernate.model.AppInfo
org.hibernate.MappingException: Unknown entity: com.web.erp4j.security.model.Factura
at org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:580)
at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1365)
at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:210)
at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:56)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:195)
at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:50)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)
at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:562)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:550)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:546)
at org.openxava.model.impl.HibernatePersistenceProvider.persist(HibernatePersistenceProvider.java:31)
at org.openxava.model.impl.POJOPersistenceProviderBase.create(POJOPersistenceProviderBase.java:148)
at org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:705)
at org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:41)
at org.openxava.model.MapFacade.create(MapFacade.java:110)
at org.openxava.actions.SaveAction.execute(SaveAction.java:27)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:310)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:229)
at org.openxava.controller.ModuleManager.execute(ModuleManager.java:195)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.