entity bean annotation to entity bean in another jar
posted 8 years ago
I annotated my entity bean to reference an entity bean which is located in another EJBJar. At deployment time I get the following erro:
13:54:43,687 WARN [ServiceController] Problem starting service persistence.units:ear=Budget.ear,jar=BudgetEJB.jar,unitName=BudgetEJBPU org.hibernate.AnnotationException: @OneToOne or @ManyToOne on br.com.dminder.budget.domain.Budget.userProfile references an unknown entity: br.com.dminder.signon.domain.UserProfile
Although the classes are in different EJB Jars, the EJB Jars are both in the same EAR. Also, they're being deployed on Jboss in an Expanded Diretory structure. Could anyone help please?