DuplicateMappingException « JPA « Spring Q&A





1. org.hibernate.DuplicateMappingException    forum.springsource.org

Could someone tell me the reason why we would get this exception "org.hibernate.DuplicateMappingException: Duplicate collection role mapping" org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization ...