hello

I'm using jsf2 , spring , hibernate to devalope web application . in my Databases I have 13 tables for example I have utilisateur ---(UtilisateurPartenaire)---partenaire
Tb utilisateur is for user and partenaire is for partner and I have association with the both UtilisateurPartenaire which have they both primary key of the utilisateur and partenaire . when I try to run application I get this error and I don't know what I should make !!


HTML Code:

INFO: Initializing Spring root WebApplicationContext
1 sept. 2011 16:19:59 org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization started
1 sept. 2011 16:19:59 org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.XmlWebApplicationContext@11dba45: display name [Root WebApplicationContext]; startup date [Thu Sep 01 16:19:59 WET 2011]; root of context hierarchy
1 sept. 2011 16:19:59 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
1 sept. 2011 16:19:59 org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@11dba45]: org.springframework.beans.factory.support.
1 sept. 2011 16:20:01 org.hibernate.cfg.HbmBinder bindCollection
INFO: Mapping collection: com.restaurants.model.Plat.partenaires -> partenaireplat
1 sept. 2011 16:20:01 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.restaurants.model.Quartier -> quartier
1 sept. 2011 16:20:01 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.restaurants.model.Utilisateur -> utilisateur
1 sept. 2011 16:20:01 org.hibernate.cfg.HbmBinder bindCollection
INFO: Mapping collection: com.restaurants.model.Utilisateur.partenaires -> partenaireutilisateur
1 sept. 2011 16:20:01 org.hibernate.cfg.HbmBinder bindCollection
INFO: Mapping collection: com.restaurants.model.Utilisateur.partenaires_1 -> partenaireutilisateur
1 sept. 2011 16:20:01 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.restaurants.model.Ville -> ville
1 sept. 2011 16:20:01 org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.restaurants.model.Utilisateur.lignedecommandes -> lignedecommande
1 sept. 2011 16:20:01 org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.restaurants.model.Utilisateur.commenatires -> commenatire
1 sept. 2011 16:20:01 org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.restaurants.model.Utilisateur.alertes -> alerte
1 sept. 2011 16:20:01 org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.restaurants.model.Ville.quartiers -> quartier
[COLOR="#FF0000"]1 sept. 2011 16:20:01 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons
INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@61736e: defining beans [propertyConfigurer,dataSource,sessionFactory,jdbcExceptionTranslator,hibernateTemplate,transactionManager,alerteDao,alerteService,commandeDao,commandeService,fraisdelivraisonDao,fraisdelivraisonService,gestionCommandeDao,gestionCommandeService,gestioncompteDao,gestioncompteService,gestionPartenaireDao,gestionPartenaireService,gestionPlatDao,gestionPlatService,horaireDao,horaireService,loginDao,loginService,lignedeCommandedao,lignedeCommandeService,partenaireDao,partenaireService,platDao,platService,quartierDao,quartierService,utilisateurDao,utilisateurService,villeDao,villeService]; root of factory hierarchy
1 sept. 2011 16:20:01 org.springframework.web.context.ContextLoader initWebApplicationContext
GRAVE: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: An association from the table partenaireplat refers to an unmapped class: com.restaurants.model.hbm.Partenaire
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.hibernate.MappingException: An association from the table partenaireplat refers to an unmapped class: com.restaurants.model.hbm.Partenaire
	at org.hibernate.cfg.Configuration.secondPassCompileForeignKeys(Configuration.java:1252)
	at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1170)
	at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1115)
	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:673)
	at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
	... 30 more
1 sept. 2011 16:20:01 org.apache.catalina.core.StandardContext listenerStart
GRAVE: Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: An association from the table partenaireplat refers to an unmapped class: com.restaurants.model.hbm.Partenaire
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
	

[/COLOR]