0 Replies Latest reply on Aug 30, 2006 6:10 AM by Gregor Graf

    DuplicateMappingException: PreferenceImpl

    Gregor Graf Newbie


      I just tried to run my web application and it keeps pulling up a org.hibernate.DuplicateMappingException:

      duplicate import: PreferenceImpl refers to both org.jboss.portal.core.impl.user.PreferenceImpl and org.jboss.portal.core.impl.model.instance.PreferenceImpl (try using auto-import="false")

      I did not import this class explicitly but it has to happen somewhere within the Hibernate framework. I tried to set auto-import to false, but it didn't help me out on this one.

      Does someone know how I can fix this problem?

      I'd appreciate that!