[jboss-jira] [JBoss JIRA] (WFLY-3425) missing persistence unit error unclear
Brian Stansberry (JIRA)
issues at jboss.org
Thu Jul 10 15:55:24 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated WFLY-3425:
-----------------------------------
Assignee: Stuart Douglas (was: Jason Greene)
Component/s: CDI / Weld
I'm guessing CDI/Weld is the proper component here; either that or JPA.
> 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)
> Components: CDI / Weld
> Reporter: Caleb Cushing
> Assignee: Stuart Douglas
>
> 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.6#6264)
More information about the jboss-jira
mailing list