org.apache.geronimo.common.DeploymentException: No default PersistenceUnit specified, and none located

geronimo-user | Hatem | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Web Application, JPA, persistence.xml

    geronimo-user | 2 years ago | Hatem
    org.apache.geronimo.common.DeploymentException: No default PersistenceUnit specified, and none located
  2. 0

    Web Application, JPA, persistence.xml

    geronimo-user | 2 years ago | Hatem
    org.apache.geronimo.common.DeploymentException: No default PersistenceUnit specified, and none located

    Root Cause Analysis

    1. org.apache.geronimo.common.DeploymentException

      No default PersistenceUnit specified, and none located

      at org.apache.geronimo.persistence.builder.PersistenceRefBuilder.findPersistenceUnitQuery()
    2. org.apache.geronimo
      PersistenceRefBuilder.findPersistenceUnitQuery
      1. org.apache.geronimo.persistence.builder.PersistenceRefBuilder.findPersistenceUnitQuery(PersistenceRefBuilder.java:225)
      1 frame