[jboss-jira] [JBoss JIRA] (WFLY-3425) missing persistence unit error unclear

Caleb Cushing (JIRA) issues at jboss.org
Sat May 31 09:13:15 EDT 2014


Caleb Cushing created WFLY-3425:
-----------------------------------

             Summary: missing persistence unit error unclear
                 Key: WFLY-3425
                 URL: https://issues.jboss.org/browse/WFLY-3425
             Project: WildFly
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
            Reporter: Caleb Cushing
            Assignee: Jason Greene


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.





















--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jboss-jira mailing list