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 cyrille37, 1 year ago
Unable to retrieve EntityManagerFactory for unitName PetstorePu
via Oracle Community by melodyk, 1 year ago
Unable to retrieve EntityManagerFactory for unitName xxx
via nabble.com by Unknown author, 2 years ago
Unable to retrieve EntityManagerFactory for unitName xxx
java.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for unitName PetstorePu	at com.sun.enterprise.util.EntityManagerFactoryWrapper.getDelegate(EntityManagerFactoryWrapper.java:159)	at com.sun.enterprise.util.EntityManagerFactoryWrapper.createEntityManager(EntityManagerFactoryWrapper.java:181)	at com.sun.javaee.blueprints.petstore.model.CatalogFacade.getCategories(CatalogFacade.java:39)	at com.sun.javaee.blueprints.petstore.controller.CatalogServlet.handleCategories(CatalogServlet.java:239)	at com.sun.javaee.blueprints.petstore.controller.CatalogServlet.doGet(CatalogServlet.java:124)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)	at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)