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

missing persistence unit error unclear

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 9.0.0.Alpha1
    • None
    • CDI / Weld
    • 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

            sdouglas1@redhat.com Stuart Douglas
            xenoterracide_jira Caleb Cushing (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: