Joined: Wed Jun 06, 2007 5:32 am Posts: 10
|
Hi,
Am using hibernae2 jar WSAD5.0. when am trying to work with WSAD the hibernate mapping are working fine. But am tryng to Point the same working directory from tomcat at that time its thrwing the follwing exception.
I could't able catch up the difference. Any idea about it.?
Exception StackTrace:
net.sf.hibernate.MappingException: duplicate import: BandModel
at net.sf.hibernate.cfg.Mappings.addImport(Mappings.java:85)
at net.sf.hibernate.cfg.Binder.bindClass(Binder.java:127)
at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:222)
at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1257)
at net.sf.hibernate.cfg.Configuration.add(Configuration.java:252)
at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:288)
at net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:336)
at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:1018)
at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:974)
at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:902)
at com.met.ib.attribution.framework.dao.SessionCreator.getSessionFactory(SessionCreator.java:26)
at com.met.ib.attribution.framework.dao.SessionCreator.currentSession(SessionCreator.java:42)
at com.met.ib.gdc.web.process.dao.CodeDescriptionDAO.getDistributionChannelList(CodeDescriptionDAO.java:482)
at com.met.ib.gdc.web.service.dataservice.ApplicationMetaDataDataService.getAllDistChannelLookup(ApplicationMetaDataDataService.java:133)
at com.met.ib.gdc.web.service.dataservice.ApplicationMetaDataDataService.loadMasterAppData(ApplicationMetaDataDataService.java:45)
at com.met.ib.gdc.web.process.bo.MasterAppDataBO.loadMasterAppData(MasterAppDataBO.java:27)
at com.met.ib.gdc.servlets.GDCLogonServlet.loadMasterAppData(GDCLogonServlet.java:105)
at com.met.ib.gdc.servlets.GDCLogonServlet.init(GDCLogonServlet.java:30)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:831)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1196)
at java.lang.Thread.run(Thread.java:536)
Thanks
Giri.M
|
|