Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to retrieve EntityManagerFactory, everything configured correctly but does not run!!!

 
Vinicius Abreu de Franca
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm freaking out now! I can not find out why it fails to retrieve the PersistenceUnit. The worst thing is that when I run the EJB project profile tests, the "config-arquillian-glasfish", it runs perfectly, but when I run the complete project profile default, gives this error.
I've tried everything and apparently everything is configured correctly. The project is attached for those who want to try ... Please help me! Thank you. (Sorry for my english, I'm Brazilian)

Download EJBProject

Following is the stacktrace:
 
Vinicius Abreu de Franca
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This error're taking me sleep! 2 weeks already! Here is the link to the SVN if someone have the courage to help me ...
SVN
 
Vinicius Abreu de Franca
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I managed to find the error. The error was in maven (maven resources plugin). Thank you all.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic