[jboss-user] [EJB3] - Re: UNRESOLVED Demands 'persistence.unit:unitName=...

jaikiran pai do-not-reply at jboss.com
Thu Mar 24 10:51:29 EDT 2011


jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion

"Re: UNRESOLVED Demands 'persistence.unit:unitName=..."

To view the discussion, visit: http://community.jboss.org/message/595362#595362

--------------------------------------------------------------
> 14:51:40,882 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=*persistence.unit:unitName=EsbMonitorEAR-0.0.1-SNAPSHOT.ear/#EsbMonitorPU* state=Create: javax.persistence.PersistenceException: [PersistenceUnit: EsbMonitorPU] class or package not found
Please post that entire excpetion stacktrace.

Also .ear/META-INF isn't a right place for persistence.xml. Move it to the META-INF of the jar within the .ear instead.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/595362#595362]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110324/50f8a726/attachment.html 


More information about the jboss-user mailing list