java.lang.illegalargumentexception SomeDomainObject not an entity class 

Joined:
01/02/2012
Posts:
12

January 23, 2012 15:00:19    Last update: January 23, 2012 15:00:19
The domain object is annotated @Entity, but Java runtime complains that it's not an entity class.

Cause:: class not listed in persistence.xml, or persistence.xml misplaced, or multiple persistence.xml files existed.
Share |
| Comment  | Tags