java.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for unitName DEFAULT_PU

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 GitHub by jShiwaniGupta
, 9 months ago
Unable to retrieve EntityManagerFactory for unitName DEFAULT_PU
via Coderanch by James P Dean, 11 months ago
Unable to retrieve EntityManagerFactory for unitName AffableBeanPU
via java.net by Unknown author, 2 years ago
via scriptscoop.net by Unknown author, 1 year ago
via Stack Overflow by james
, 1 year ago
Unable to retrieve EntityManagerFactory for unitName AffableBeanPU
java.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for unitName DEFAULT_PU
at com.sun.enterprise.container.common.impl.EntityManagerWrapper.init(EntityManagerWrapper.java:138)
at com.sun.enterprise.container.common.impl.EntityManagerWrapper._getDelegate(EntityManagerWrapper.java:171)
at service.facade.AbstractFacade.findSingleByNamedQuery(AbstractFacade.ava:85)
at service.facade.UserFacade.findOneWithAuthoritiesByLogin(UserFacade.java:53)
at app.service.UserService.authenticate(UserService.java:180)
at controller.UserJWTController.login(UserJWTController.java:62)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago
Samebug visitor profile picture
Unknown user
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.