• Post Reply Bookmark Topic Watch Topic
  • New Topic

unresolved Demands 'persistence.unit:unitName=

 
sam White
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have a developed an EAR project for JBOSS 6.0. When I deploy the project, it failed with the following error.

Here is the exception error:




My persistence.xml file is shown below:



My hibernate.cfg.xml file is shown below:



Here is the RoleFacade.java file:



What else I have missing from the project setup? or anything wrong in my RoleFacade file?

Very appreciate for any suggestion and guidance.

Thanks
Sam
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!