Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PersistenceException occured : [PersistenceUnit: jpablogPUnit] class or package not found

 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to connect play 1.2.5 framework with multiple connection and it is not support multiple connections: I am using below code to get new entity manager having property of 2nd database. But while doing it I am getting "PersistenceException occured : [PersistenceUnit: jpablogPUnit] class or package not found" error which is because in persistence.xml in <class> tag I am mentioning my model class name eg app.com.Answers. and it is not able to find that class ... Answer class is in the same package... still don't understand this error message kindly help..

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic