Life is like Code, you never know what you will create next

[class E] uses a non-entity [class E] as target entity in the relationship attribute [field

6. March 2012 07:52 by Scott in Java  //  Tags: ,   //   Comments (0)

[class E] uses a non-entity [class E] as target entity in the relationship attribute [field

Busted in upon this error and didn’t find much for it online.

Its mainly caused because the Entity is not found in the persistance.xml document.  You have to make sure its added.