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 Oracle Community by kern.augusto, 1 year ago
Couldn't create EntityManager for refName: br.com.xyz.rooms.dao.impl.GenericHibernateDao/em
via Oracle Community by rickhoro, 1 year ago
Couldn't create EntityManager for refName: com.unclejoes.ejb.ShoppingCartBean/em ...where ShoppingCartBean is a stateful session bean in my application. Caused by: java.lang.ClassNotFoundException: com.unclejoes.model.CatalogItem ...where
javax.ejb.EJBException: Couldn't create EntityManager for refName: br.com.xyz.rooms.dao.impl.GenericHibernateDao/em	at com.sun.ejb.containers.StatefulSessionContainer.repopulateEEMMapsInContext(StatefulSessionContainer.java:2483)	at com.sun.ejb.containers.StatefulSessionContainer.activateEJB(StatefulSessionContainer.java:2383)	at com.sun.ejb.containers.util.cache.LruSessionCache.lookupEJB(LruSessionCache.java:275)	at com.sun.ejb.containers.StatefulSessionContainer._getContext(StatefulSessionContainer.java:1416)	at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:2528)	at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1895)	at com.sun.ejb.containers.StatefulSessionContainer.removeBean(StatefulSessionContainer.java:968)	at com.sun.ejb.containers.EJBLocalObjectImpl.remove(EJBLocalObjectImpl.java:187)	at com.sun.ejb.containers.EjbContainerServicesImpl.remove(EjbContainerServicesImpl.java:154)	at org.glassfish.weld.ejb.SessionObjectReferenceImpl.remove(SessionObjectReferenceImpl.java:69)	at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:107)	at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:62)	at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)