Hi everyone,
I get the following exception when trying to run my app:
Code:
javax.persistence.PersistenceException: [PersistenceUnit: Pizzeria2PU] Unable to configure EntityManagerFactory
...
Caused by: org.hibernate.DuplicateMappingException: Duplicate collection role mapping entity.Kundebestellung.gerichten
I googled but didn't find any solution to my problem. I don't have any .hbm.xml duplicates (or duplicates in the cfg file), i did not forget to add all the properties in the mapping files. Everything
seems to be ok. What else could be wrong?
Thanks.