java web项目启动tomcat时,报这个错,映射文件已经检查了,没有问题!


2015-01-31 10:42:27,979 ERROR (XMLHelper.java:81) --- Error parsing XML: XML InputStream(12) The content of element type "property" must match "(meta*,(column|formula)*,type?)".
2015-01-31 10:42:27,986 ERROR (XMLHelper.java:81) --- Error parsing XML: XML InputStream(259) The content of element type "class" must match "(meta*,subselect?,cache?,synchronize*,comment?,tuplizer*,(id|composite-id),discriminator?,natural-id?,(version|timestamp)?,(property|many-to-one|one-to-one|component|dynamic-component|properties|any|map|set|list|bag|idbag|array|primitive-array)*,((join*,subclass*)|joined-subclass*|union-subclass*),loader?,sql-insert?,sql-update?,sql-delete?,filter*,resultset*,(query|sql-query)*)".
2015-01-31 10:42:27,990  INFO (DefaultSingletonBeanRegistry.java:399) --- Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@67a47927: defining beans [zdyTreeAction,zdyTreeManager,zdyJbxxAction,zdyJbxxManager,zdyFormAction,zdyFormManager,slaYwAction,loginAction,loginManager,yzygnAction,yzygnManager,slaLbAction,pbjlAction,sjjcAction,ywgzAction,updateAction,zxqkAction,tcyjAction,ssfAction,ssfManager,tcyjManager,updateManager,slaManager,pbjlManager,sxAction,zxqkManager,ywgzManager,createKey,commonFunction,spzzAction,spzzManager,ktslAction,ktslManager,pqglAction,pqglManager,zjglAction,zjglManager,ysajAction,ysajManager,ajpyAction,ajpyManager,sqyqjzAction,sqyqjzManager,dpggAction,dpggManager,gdhytAction,gdhytManager,gdzzAction,gdzzManager,qzcsAction,qzcsManager,tongzhiAction,tongzhiManager,fypzAction,fypzManager,sfjyAction,sfjyManager,wsAction,wsglManager,wssdAction,wssdManager,spglFaManager,spglFaAction,jaAction,spglJaManager,selfDefComumnManager,selfDefColAction,selfDefListManager,selfDefListAction,spglDbManager,spglDbAction,export_SpglData_Manager,exportDataAction,messageManager,messageAction,sxManager,laAction,lbAction,spAction,spManager,zhcxAction,zhcxManager,zdyAction,zdyManager,searchManager,daoSearch,tjcxAction,tjcxManager,nreportManager,nreportService,nreportAction,qtAjXxDao,qtAjXxManager,qtAjXxAction,gdAction,gdManager,changeCenterService,ysjlAction,ysjlManager,hbxxAction,hbxxManager,copyAjxxAction,copyAjxxManager,sjjcManager,leftTreeAction,bannerAction,treeManager,uploadAction,bannerManager,slAction,slManager,ajClqkAction,reportService,spglReportService,spglReportAction,reportAction,reportDBManager,kzxxAction,kzxxManaget,zxtodbAction,zxtodbManager,cbrbgAction,cbrbgManager,dataRoleManager,djAction,djManager,rsxxAction,rsxxManager,ssbqAction,ssbqManager,mrcbbmManager,mrcbbmAction,zdyReportAction,zdyReportManager,reportZdyAction,reportZdyManager,reportViewAction,ftwhAction,ftwhManager,roleTreeAction,roleTreeManager,sjsplcAction,sjsplcManager,sfjdManager,sfjdAction,fileUploadManager,fileUploadAction,checkDateModifyAction,ftdepartAction,ftdepartManager,ajPcManager,ajPcJjManager,ajPcDao,ajPcAction,zdjsDbkhManager,testAction,ajPcGyAction,ajPcCommManager,ajPcServerManager,ajPcGyManager,gyAjPcManager,gyAjPcAction,ajcxmanager,chaxunAction,dateInterface,slMndlInterface,mndlInterAction,clszAction,clszManager,yyfgAction,yyfgmanager,zdfaManager,comnonFunction,zdfaProcessManager,zdfaJobManager,xtpzQxManager,sbxxAction,sbService,fsAction,fsManager,dxAction,dxManager,xxblAction,xxblmanager,pqWebService,pqServicelManager,spglWebService,wsWebService,zXSjywWebService,zdxxAction,ZdxxMananger,ajzhManager,ajzhAction,ajzhglAction,ajzhglManager,ywgzxxAction,ywgzxxManager,sgbCxAction,sgbcxManager,blajAction,blajManager,zsAction,zsManager,wsswAction,wsswManager,flashDataManager,lcpzAction,processManager,lcpzManager,nextManager,dblbManager,gnglManager,gnglAction,gnglFuncManager,lcpdFunction,xxxxAction,xxxxManager,rzManager,blFuncManager,rzAction,webServiceManager,job,callGirlServiceInvokingJobDetail,cronCallTrgger,oneMonth,oneMonthCallTrgger,delTempFileInvokingJobDetail,delTempFileTrgger,autoSdJobDetail,autoSdTrgger,sydbNameSpaceJobDetail,sydbNameSpaceTrgger,remoteTongbusjInvokingJobDetail,remoteTongbusjTrgger,org.springframework.scheduling.quartz.SchedulerFactoryBean#0,fsjob,fsjobMethodInvoking,fscronTrgger,jssx,jssxCallTrgger,ysajtb,ysajtbCallTrgger,zdtbaj,zdtbajCallTrgger,reportStatistics,reportStatisticsCallTrgger,xxjcjobMethodInvoking,xxjccronTrgger,fsxxjcjobMethodInvoking,fsxxjccronTrgger,zdfaDetailBean,zdfaCronTriggerBean,zdfaScheduledFactoryBean,org.springframework.scheduling.quartz.SchedulerFactoryBean#1,zxjssx,zxjssxCallTrgger,zxCountReport,zxCountReportCallTrgger,{http://apache.org/hello_world_soap_http}SoapPort.http-conduit,cxf,org.apache.cxf.bus.spring.BusApplicationListener,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.endpoint.ServiceContractResolverRegistry,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.transport.servlet.ServletTransportFactory,authenticationHandler,dataCenterChange,sjywLybServerWs,PqWebService,zxwtajsb,SpglWebService,WsWebService,ZXSjywWebService,client.proxyFactory,client,ssdaManager,SpSsdaManager,commonManager,daglRZManager,daglSystemService,datjService,checkDbSpace,dbSpaceService,dawsglManager,dawsqsService,dawsjyManager,dasfjdManager,dakjManager,kjdaqsManager,sfjdqsManager,sxdaglManager,swdaglManager,sxdaqsManager,swdaqsManager,ssdadjManager,qtdaglManager,qtdaqsManager,wwsjdcService,jjglManager,jjdaqsManager,sjYwManager,sjYwAction,sjYwPoJoManager,sjYwDao,sjJsAndFsManager,sendMessageAction,decompression,sjYwLybManager,sjYwAjXxServerManager,sjYwAjXxClientManager,sjYwServer,sjYwGxClQkManager,sjYwGxClQkAction,sender,spAjTjManager,spAjTjAction,spJsTjDao,ireceiver,jobSender,swhxtAction,swhxtManager,jxkhzbTargetsAction,jxkhzbUrlAction,jxkhTargetsManager,measurementManager,objectChooseAction,jxkhzbAllAction,zbdbfwDao,sjzbgxbDao,fsszManager,zbdbfwAction,sjzbgxbAction,fykhZbManager,fykhResultManager,fykhAction,daglLoginAction,daqsAction,dajyAction,dasystemAction,cxtjManager,daglBannerAction,qxManager,spSsdaManager,pubManager,lcTempManager,dajsManager,dajyglManager,pdfOperate,pdfManager,daglRzAction,datjAction,dadbSpaceAction,dawsglAction,dawsqsAction,dawsjyAction,dasfjdglAction,dakjglAction,daKjdaqsAction,daSfjdqsAction,daSxdaglAction,daSwdaglAction,daSxdaqsAction,daSwdaqsAction,daSsdadjAction,daQtdaglAction,daQtdaqsAction,wwsjdcAction,jjglAction,jjdaqsAction,sftjAction,sftjManager,zdfaAction,zxzdfaAction,mainManager,zxWsManager,zxDossierManager,zxxfService,lbManager,zxLoginManager,zxQxManager,szxfManager,zxCreateKey,onLineUserManager,taskListManager,outExcelManager,courtManager,zxglProcessManager,xsamanager,zxdao,otherbmManager,zxrzManager,zxSlaManager,ccxxManager,chManager,cxckManager,dcManager,scManager,zxSfsjManager,sjjgManager,xszxManager,xsjgManager,cfManager,bfjfManager,xxcfManager,cfxlxmManager,kyManager,bfjkManager,xxkyManager,kyxlxmManager,zxDjManager,bfjdManager,xxdjManager,djxlxmManager,hbManager,qzglManager,jcglManager,pgManager,pgjgManager,bmManager,ywdzManager,kltqManager,qzqctcManager,qtqzcsManager,zxcsglManager,jcManager,fkManager,fkfyManager,fklxManager,jlManager,jlfyManager,jcjlManager,fzysManager,pczrManager,qtzccsManager,qzxzManager,zdlxManager,dxwdzxManager,sdManager,zxdqzqManager,cdzxdqzqManager,zxdqzqyyManager,awryyManager,awryyscManager,xzzxManager,cyfpManager,cyfpzxsqrManager,stfyhfqkManager,wtzxManager,zxdbManager,ddbrzxManager,pmManager,pmjsManager,sqrbgManager,bzxrbgzjManager,zqpzManager,zhzxManager,zxzzManager,hfzxManager,byzxManager,zxhjManager,zxzjManager,zxkwglManager,qtgzjlManager,akzfManager,akjzManager,fyTreeManager,zxDsrManager,processImgManager,ysManager,zxSfjyManager,zxXsaManager,searchService,zxZhcxManager,zxyjManager,nqqsManager,cpwsManage,ftManager,zxCbrbgManager,slaspManager,zxSxManager,zxjdManager,ajgdManager,sxspManager,bulletinManager,cpwsManager,indexManager,zxJaManager,check,zxSpManager,pqManager,zxDblbManager,ckglManager,ckbglManager,ckxxglManager,ckryManger,sxjdManager,bmdzManager,dataChangeManager,zxglDataDcManager,dataChangeLoggerManager,drDataManager,loggerManager,rmyhManager,ldcxManager,ckbManager,reportManager,springBeanHelper,urlManager,fcManager,caseFlowRuleManager,bdpzManager,bdglManger,caseViewManager,lcxxViewManagerImpl,bddyManager,bmrbdManager,tzInfoManager,tzManager,zxglTzZbManager,zxglTzResultManager,zxTypzManager,jspzManager,jsManger,jxlCourtManager,zxJdManager,bmRBdUtilManager,wpglManager,wpgxManager,ywrzManager,zxzdfaManager,zxZdfaJobManager,zjxszrManager,xeccjszfManager,xhwpManager,sfjzManager,xhwpQtManager,tdwgfManager,wdzxajManager,tcManager,xszrcfManager,zxBgcbrManager,zxCcdyManager,fpfaManager,ccxsManager,bmkGlManager,yydjManager,gyinfoMamager,zxReportManager,znxxManager,CourtWsSbServer,commandCenterManager,xfpgyfManager,zxlbAction,zxWsAction,szxfAction,zxxfAction,zxjdAction,zxDossierAction,JjqkAction,jjqkManagerImpl,ZxxsAction,zxxsManagerImpl,CkjgAction,ckjgManagerImpl,CjblxxAction,cjblxxManagerImpl,xaZxLbAction,onlineuserAction,buttonInfoAction,zxLoginAction,taskListAction,courtTreeAction,saveXsaAction,checkAjbhAction,otherbmAction,zxSlaAction,ccxxAction,chAction,cxckAction,dcAction,scAction,sfsjAction,sjjgAction,xszxAction,xsjgAction,cfAction,bfjfAction,xxcfAction,cfxlxmAction,kyAction,bfjkAction,xxkyAction,kyxlxmAction,zxDjAction,bfjdAction,xxdjAction,djxlxmAction,hbAction,qzglAction,zxcsglAction,jcglAction,pgAction,pgjgAction,bmAction,pmAction,pmjsAction,ywdzAction,kltqAction,qzqctcAction,qtqzcsAction,jcAction,fkAction,fkfyAction,fklxAction,jlAction,djxxAction,jlfyAction,jcjlAction,fzysAction,pczrAction,qtzccsAction,qzxzAction,zdlxAction,dxwdzxAction,sdAction,zxdqzqAction,cdzxdqzqAction,zxdqzqyyAction,awryyAction,awryyscAction,xzzxAction,cyfpAction,cyfpzxsqrAction,stfyhfqkAction,wtzxAction,zxdbAction,ddbrzxAction,sqrbgAction,bzxrbgzjAction,zqpzAction,zhzxAction,zxzzAction,hfzxAction,byzxAction,zxhjAction,zxzjAction,zxkwglAction,akzfAction,akjzAction,qtgzjlAction,zxrzAction,fyTreeAction,zxDsrAction,processImgAction,ysAction,zxSfjyAction,zxXsaAction,xsaAction,searchAction,zxZhcxAction,zxyjAction,nqqsAction,cpwsAction,ftAction,zxCbrbgAction,slaspAction,zxSxAction,ajgdAction,sxspAction,cpwsTjAction,cpwsSpAction,indexAction,zxJaAction,checkAction,zxSpzzAction,pqListAction,pqxgAction,pqAction,zxPqglAction,ckglAction,ckbglAction,ckxxglAction,ckryAction,sxjdAction,bmdzAction,zxDrDcAction,ldcxAction,ckbAction,zxReportAction,fcAction,caseFlowRuleAction,bdpzAction,bmrbdAction,zxglTzAction,jxglAction,caseViewAction,lcxxViewAction,caseInfoViewAction,bddyAction,zxTypzAction,jspzAction,jsAction,jxlCourtAction,zxJdAction,wpglAction,zjxszrAction,xeccjszfAction,xhwpAction,xhwpQtAction,tdwgfAction,sfjzAction,wdzxajAction,tcAction,xszrcfAction,zxglLbAction,bgcbrAction,ccdyAction,fpfaAction,zxccxsAction,bmkGlAction,yydjAction,gyinfoAction,zxReportActionNew,znxxAction,commandCenterAction,xfpgyfAction,yjwajcxManager,yjwajcxAction,wsglMainManager,wsmbManager,wspzManager,wsdyManager,fetchWsDataManager,wsglManAction,wsmbAction,wsdyAction,dataDrdcManager,dataDrdcAction,zXSjywManager,zXSjywAction,suSongFManagerImp,tSpTzMessageManagerImp,tspTaiZhangManagerImp,anKuanManagerImp,tSpAjjsManagerImp,tSpJstzManagerImp,suSongFAction,tSpTzMessageAction,tspTaiZhangAction,anKuanAction,anJianjsAction,tzLoginAction,tSpJstzAction,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.aop.config.internalAutoProxyCreator,resource.PropertyConfigurer,dataSource,dcDataSource,xfDataSource,dataSourceDataanalysis,dcSessionFactory,sessionFactory,txManager,txManagerDataanalysis,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,resource.JbpmConfiguration,resource.JbpmTemplate,jbpmTypes,daoTool,jdbcTool,dcDaoTool,dcJdbcTool,xfjdbcTool,jdbcToolDataanalysis,transactionManager,transactionManagerDataanalysis,txProxyTemplateDataanalysis,txProxyTemplate,info,daglinfo,txAdvice,serviceOperation,zxglOperation,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#1]; root of factory hierarchy
2015-01-31 10:42:28,002 ERROR (ContextLoader.java:215) --- Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'zdyTreeManager': Injection of resource fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoTool' defined in ServletContext resource [/WEB-INF/configs/ApplicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/configs/ApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from invalid mapping
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessAfterInstantiation(CommonAnnotationBeanPostProcessor.java:292)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:959)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
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:221)
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:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
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:3843)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoTool' defined in ServletContext resource [/WEB-INF/configs/ApplicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/configs/ApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from invalid mapping
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
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:221)
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:168)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:537)
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:180)
at org.springframework.beans.factory.annotation.InjectionMetadata.injectFields(InjectionMetadata.java:105)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessAfterInstantiation(CommonAnnotationBeanPostProcessor.java:289)
... 40 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/configs/ApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from invalid mapping
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1337)
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:221)
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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
... 58 more
Caused by: org.hibernate.InvalidMappingException: Could not parse mapping document from invalid mapping
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:535)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:638)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
... 68 more
Caused by: org.xml.sax.SAXParseException: The content of element type "property" must match "(meta*,(column|formula)*,type?)".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:532)
... 72 more
2015-1-31 10:42:28 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'zdyTreeManager': Injection of resource fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoTool' defined in ServletContext resource [/WEB-INF/configs/ApplicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/configs/ApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from invalid mapping
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessAfterInstantiation(CommonAnnotationBeanPostProcessor.java:292)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:959)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
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:221)
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:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
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:3843)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoTool' defined in ServletContext resource [/WEB-INF/configs/ApplicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/configs/ApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from invalid mapping
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
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:221)
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:168)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:435)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:537)
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:180)
at org.springframework.beans.factory.annotation.InjectionMetadata.injectFields(InjectionMetadata.java:105)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessAfterInstantiation(CommonAnnotationBeanPostProcessor.java:289)
... 40 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/configs/ApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from invalid mapping
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1337)
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:221)
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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
... 58 more
Caused by: org.hibernate.InvalidMappingException: Could not parse mapping document from invalid mapping
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:535)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:638)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
... 68 more
Caused by: org.xml.sax.SAXParseException: The content of element type "property" must match "(meta*,(column|formula)*,type?)".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:532)
... 72 more

你可能感兴趣的:(spring,Hibernate,bean)