Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3425

missing persistence unit error unclear

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 9.0.0.Alpha1
    • Component/s: CDI / Weld
    • Labels:
      None

      Description

      Caused by: java.lang.IllegalArgumentException: JBAS016069: Error injecting persistence unit into CDI managed bean. Can't find a persistence unit named in deployment c11651d6-a1da-4f69-8b09-07224801d593.war

      so does this error mean, it can't find my persistence.xml? does it mean that it can't find the persistence unit named in my xml on the server? I notice that there are 2 spaces between named and in, I'm guessing this means it would put a name there, perhaps ensuring the log entry has quotes '' whether there should be something there. If this means it can't find my persistence.xml it should say so.

        Attachments

          Activity

            People

            Assignee:
            swd847 Stuart Douglas
            Reporter:
            xenoterracide Caleb Cushing (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: