[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - DuplicateMappingException: PreferenceImpl

atlanta_al do-not-reply at jboss.com
Wed Aug 30 06:10:34 EDT 2006


Hi!

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!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968326#3968326

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968326



More information about the jboss-user mailing list