INFO - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@17c395e: defining beans [dataSource,sqlSessionFactory,userDetailsManager,transactionManager,org.springframework.security.authentication.event.LoggerListener#0,passwordEncoder,two,three,com.tension.framework.common.ApplicationContextAwareService#0,txAdvice,org.springframework.beans.factory.config.CustomEditorConfigurer#0,fileData,uploadFileDao,uploadFileService,wfCommentServiceImpl,wfAfterwardsCommentDao,wfAfterwardsCommentServiceImpl,wfSaveOpinionServiceImpl,wfWorkCommentDao,wfWorkCommentServiceImpl,wfPluginInstanceConfigManagerDao,wfPluginInstanceConfigManager,wfPluginConfigManagerDao,wfPluginConfigManager,taskPlanDao,taskPlanServiceImpl,taskInfoDao,taskInfoServiceImpl,warnInfoDao,warnInfoServiceImpl,emailUtil,org.springframework.scheduling.annotation.internalAsyncAnnotationProcessor,org.springframework.scheduling.annotation.internalScheduledAnnotationProcessor,taskJob,wFSystemJoinFlowDao,otherdao,wfSystemJoinFlowImpl,otherService,sysOutservice,otherJoinSysAction,wfDataDicDao,wfDataDicGroupDao,wfDataDicImpl,wfDataDicGroupImpl,outService,pluginService,emailPluginDao,emailPluginServiceImpl,nodesCacheDao,nodesCacheService,staticNodesCacheService,announcementDao,announcementManage,emDao,emService,advancedDDao,advancedDService,emDetailDao,emDetailService,runtimeAssessDao,runtimeAssessService,overtimeFormDao,overtimeFormService,riCatalogDao,riCatalogService,riReportDao,riReportService,riDataDao,riDataService,riReportColumnDao,riReportColumnService,riReportControlDao,riReportControlService,wfOpinionDao,wfOpinionManage,smsRecvTaskJob,smsSendTaskJob,smsRecvDaoImpl,SMSRecvImpl,smsSendDaoImpl,smsSendImpl,smsEntrustServiceImpl,clientUpdateDao,clientUpdateimpl,applyFormDao,applyFormService,ztdFormDao,ZTDFormService,userManagerDao,userManager,global,userInRoleManagerDao,userInRoleManager,passWordManagerDao,passWordManager,roleInSiteNodeDao,roleInSiteNode,roleManagerDao,roleManager,departmentInRoleDao,departmentInRoleManager,leaderDepartmentManagerDao,leaderDepartmentManager,departmentManagerDao,departmentManager,employeeManagerDao,employeeManager,departmentInBankDao,departmentInBankManager,siteNodeManagerDao,siteNodeManager,areaDao,areaManager,hospitalreportDao,hospitalreportManager,settlementreportinfoDao,settlementreportinfoManager,reportcancelDao,reportcancelManager,settlementInfoDao,settlementInfoManager,sporadicReportDao,sporadicReportManager,hospitalreportinfoDao,hospitalreportinfoManager,sporadicReportInfoDao,sporadicReportInfoManager,settlementreportDao,settlementreportManager,org.springframework.aop.config.internalAutoProxyCreator,settlementReportManagerMethods,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,insuredtypeDao,insuredtypeManager,updatePersonTypeJob,org.springframework.scheduling.support.MethodInvokingRunnable#0,org.springframework.scheduling.config.ScheduledTaskRegistrar#0,historymoneycountDao,historymoneycountManager,historyMoneyDao,historyMoneyManager,difficultyPersonBakDao,difficultyPersonBakManager,reliefidentityDao,reliefidentityManager,materialInfoDao,materialInfoManager,credentialsDao,credentialsManager,extendInfoDao,extendInfoManager,reliefstatusDao,reliefstatusManager,difficultypersonDao,personService,personVo,bankDao,bankManager,reliefTypeDao,reliefTypeManager,personTypeDao,personTypeManager,hospitalDao,hospitalManager,reportConfigDao,reportConfigManager,medicalexpensestypeDao,medicalexpensestypeManager,reliefruleDao,reliefruleManager,diseasereliefrDao,diseasereliefrManager,insuredTypeDao,insuredTypeService,relieftreatmentDao,relieftreatmentManager,diseaseDao,diseaseManager,diseaseManagerMethods,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#1,reliefstandardDao,reliefstandardManager,reliefnormDao,reliefnormManager,personIDSubsidizeDao,personIDSubsidizeService,attachmentDao,attachmentManager,standingBookDao,standingBookManager,insuredListInfoBDao,insuredListInfoBManager,requestPayInfoDao,requestPayInfoManager,personIdTypeDao,personIdTypeManager,insuredNoPayIdDao,insuredNoPayIdManager,requestPayDao,requestPayManager,standingBookInfoDao,standingBookInfoManager,insuredApplyDao,insuredApplyManager,insuredListBDao,insuredListBManager,reinsuredDao,reinsuredManager,haltInsappInfoDao,haltInsappInfoManager,haltInsuredApplyDao,haltInsuredApplyManager,haltInsuredApplyManagerMethods,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#2,generalApplyInfoDao,generalApplyInfoManager,reportinfoDao,reportinfoManager,applyDetailsInfoDao,applyDetailsInfoManager,applyDao,applyManager,generalApplyDao,generalApplyManager,generalApplyManagerMethods,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#3,reportDao,reportManager,reportManagerMethods,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#4,modifyLogDao,modifyLogManager,reportApplyForGatherDao,reportApplyForGatherManager,findAndUpdateReportApplyManager,timingCreatePtmzReportService,abstractRepBusinessHandle,abstractAppRepBusinessHandle,appRepBusinessHandle,finalAppRepBusinessHandle,temporaryQxRepBusinessHandle,temporaryZxRepBusinessHandle,weightBigRepBusinessHandle,reportinfoManagerBusinessHandle,applyForGatherManagerMethods,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#5,busConfigDao,busConfigManager,waitHandlingDao,waitHandlingManager,gzmasdmIndexDao,gzmasdmIndexManager,auditOpinionDao,auditOpinionService,wfFormDao,wfFormService,replaceContext,userDelegateWfJobImpl,wfApprovalWfJobInfoImpl,showToolBarImpl,controlOperateInstanceImpl,instanceServiceImpl,noConfigurationTbImpl,operateActivityWfJobImpl,baseInstanceInfo,engineContext,warnCelebrity,abstractSerial,empRule,seqRule,resolveRuleImpl,selectPeopleRule,outBoundRule,lineRule,circulationRule,invokeClass,coordinateRule,invokeForm,wfBaseDao,wfBaseServiceImpl,wfActivityDao,wfActivityServiceImpl,wfInstanceDao,wfInstanceServiceImpl,wfLineDao,wfLineServiceImpl,toolbarDao,toolbarServiceImpl,wfVersionDao,wfVersionServiceImpl,wfActhiStoryDao,wfActhiStoryServiceImpl,problemInfoDao,problemInfoServiceImpl,wfCountersignDao,wfCountersignServiceImpl,flowengineMethods,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#6,systemLogDao,systemLogService,commonOperateLogService,outSystemLogService,archivalLoggingServiceDao,archivalLoggingServiceImpl,taskJobService,fpDao,fpManager,cataLogDao,cataLogService,cataLogOutService,sporadicFMDao,sporadicFMService,wfTrackingDao,wfTrackingService,getInstanceDao,getInstance,fundedDao,fundedService,fundedDetailsDao,fundedDetailsService,fundedFormDao,fundedFormService,settlementDao,settlementService,evectionFormDao,evectionFormService,baseConfigManagerDao,baseConfigManager,lineConfigManagerDao,lineConfigManager,selectSendUserConfigManagerDao,selectSendUserConfigManager,selectionRulesConfigManagerDao,selectionRulesConfigManager,toolBarConfigManagerDao,toolBarConfigManager,diffuseConfigManagerDao,diffuseConfigManager,wfConfigHelperOutservice,linkFormConfigManagerDao,linkFormConfigManager,wfOtherConfigDao,wfOtherConfigService,leaveFormDao,leaveFormService,wfFormConfigManagerDao,wfFormConfigManager,wfIntelligentFormManagerDao,wfIntelligentFormManager,wfFormCatalogManagerDao,wfFormCatalogManager,contractDao,contractService,messageDao,messageService,accountDao,accountService,msgSchedulerJobDetail,msgCronTrigger,msgSchedulerFactory,entrustPersonDao,entrustPersonService,dedicatedDao,decicatedService,netWorkHardDiskDao,netWorkHardDiskServiceImpl,netWorkHardDiskShareDao,nwHardDiskDirShareServiceImpl,organizationUser,authorizedDao,authorizedService,permissionsDao,permissionsService,flowAttentionDao,flowAttentionService,formDao,formManager,favoriteFlowDao,favoriteFlowService,workOffDao,workOffService,workDateDao,workDateServiceImpl,workTimeDao,workTimeServiceImpl,wFAuthForUserDao,wFAuthForUserService,wFAuthForDepartmentDao,wFAuthForDepartmentService,wFAuthorityDao,wFAuthorityService,wFAuthForCommentDao,wFAuthForCommentService,wFAuthForRoleDao,wFAuthForRoleService,smsTemplateDao,smsTemplateServiceImpl,smsSendDao,smsSendServiceImpl,smsReceiveDao,smsReceiveServiceImpl,engineSMSimpl,receiveJobs,flowManageDao,flowMangeService,afterJobRemarkDao,afterJobRemarkService,flowReminderDao,flowReminderService,flowfindDao,flowfindService,flowHandleEfficiencyDao,flowHandleEfficiencyService,flowHandleEfficiencyGraphService,trackingManagerCommon,flowControlDao,flowControlService,waitreadDao,waitreadService,trackingmanagerDao,trackingmanagerService,flowInstanceStaticDao,flowInstanceStaticsService,flowInstanceStaticsGraphService,flowInstanceStaticsCommon,highgradFlowInstanceStaticDao,highgradeFlowInstanceStaticsService,highgradFlowInstanceStaticCommon,flowInstanceExcelExport,wfUserInBaseDao,wfUserInBaseService,flowTrackingOutService,attachment,wfAfterwardsCommentVo,taskPlan,taskTime,taskInfo,warnInfo,warnContext,mailWarnContext,smsWarnContext,otherJoinSys,wFSystemJoinFlow,wfDataDic,wfDataDicGroup,emailPlugin,overtimeForm,clientUpdate,applyForm,ztdForm,userInRole,employee,siteNode,user,departmentInRole,area,leaderDepartment,roleInNode,settlementInfo,settlementreport,voStlmRpt,poStlmRpt,sporadicReportInfo,sporadicReportInfoVo,sporadicReportInfoPo,sporadicReport,sporadicReportVo,sporadicReportPo,hospitalreportinfo,reportcancel,hospitalreport,voHr,voHrinfo,settlementreportinfo,difficultyperson,Reliefrule,personIDSubsidize,reliefType,Reliefstandard,diseasereliefr,Insuredtype,Hospital,reportConfig,Medicalexpensestype,personType,Disease,attachment_,reinsured,haltInsappInfo,haltInsuredApply,generalApplyInfo,reportinfo,applyDetailsInfo,apply,generalApply,report,modifyLog,busConfig,waitHandlingVo,wfBase,wfBaseVo,wfInstanceVo,wfActivityVo,wfVersionVo,wfVersion,wfLineVo,wfActToolbar,storyInfo,operateLog,loginLog,FormPosting,workFlowTracking,funded,fundedDetails,fundedForm,settlement,evectionForm,leaveForm,entrustPerson,netWorkHardDisk,netWorkHardDiskShare,nwhdsVo,nwhdsaVo,fileInfo,testForm,smsTemplate,smsSend,smsReceive,xfire.customEditorConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBindingProvider,xfire.serviceFactory,xfire.servletController,xfire.messageServiceFactory,xfire.messageBindingProvider,webFlowengineService,workFlowOutService,wFOtherJoinSysWebService,cataLogWebService,wfBaseWebService,dataDicWebService,wfActivityWebService,wfFormWebService,waitreadWebService,wfLineWebService,flowengineWebService,WebFlowengineService,WorkFlowOutService,FlowengineWebService,WFOtherJoinSysWebService,CataLogWebService,WfBaseWebService,DataDicWebService,WfActivityWebService,WfFormWebService,WaitreadWebService,WfLineWebService]; root of factory hierarchy
ERROR - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Invocation of init method failed; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 149; columnNumber: 10; The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)+".
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
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:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
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:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 149; columnNumber: 10; The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)+".
at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:85)
at org.apache.ibatis.builder.xml.XMLConfigBuilder.parse(XMLConfigBuilder.java:69)
at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:250)
at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:221)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
... 36 more
Caused by: org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 149; columnNumber: 10; The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)+".
at org.apache.ibatis.parsing.XPathParser.createDocument(XPathParser.java:238)
at org.apache.ibatis.parsing.XPathParser.<init>(XPathParser.java:107)
at org.apache.ibatis.builder.xml.XMLMapperBuilder.<init>(XMLMapperBuilder.java:59)
at org.apache.ibatis.builder.xml.XMLConfigBuilder.mapperElement(XMLConfigBuilder.java:254)
at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:83)
... 41 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 149; columnNumber: 10; The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)+".
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.XMLDocumentFragmentScannerImpl.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.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.apache.ibatis.parsing.XPathParser.createDocument(XPathParser.java:236)
... 45 more
八月 06, 2013 12:02:08 下午 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 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Invocation of init method failed; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 149; columnNumber: 10; The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)+".
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
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:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
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:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 149; columnNumber: 10; The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)+".
at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:85)
at org.apache.ibatis.builder.xml.XMLConfigBuilder.parse(XMLConfigBuilder.java:69)
at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:250)
at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:221)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
... 36 more
Caused by: org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 149; columnNumber: 10; The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)+".
at org.apache.ibatis.parsing.XPathParser.createDocument(XPathParser.java:238)
at org.apache.ibatis.parsing.XPathParser.<init>(XPathParser.java:107)
at org.apache.ibatis.builder.xml.XMLMapperBuilder.<init>(XMLMapperBuilder.java:59)
at org.apache.ibatis.builder.xml.XMLConfigBuilder.mapperElement(XMLConfigBuilder.java:254)
at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:83)
... 41 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 149; columnNumber: 10; The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)+".
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.XMLDocumentFragmentScannerImpl.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.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.apache.ibatis.parsing.XPathParser.createDocument(XPathParser.java:236)
... 45 more

Exception mybatis 配置文件:<typeAlias alias="***" type="***"/> 重复配置的更多相关文章

  1. MyBatis配置文件(二)--settings配置

    settings是MyBatis中最复杂的配置,它能影响MyBatis底层的运行,大部分情况下使用默认值,只需要修改一些常用的规则即可.常用规则有自动映射.驼峰命名映射.级联规则.是否启动缓存.执行器 ...

  2. mybatis 配置文件全解

    目录 properties settings typeAliases mappers properties mybatis配置文件中,可以像代码一样定义变量,然后在配置文件的其他地方使用,比如数据库连 ...

  3. Mybatis配置文件无故报错、无自动完成提示的解决方法,及自动生成主要配置项

    1.引子 Mybatis配置文件显示红叉有错误,而实际检查又没有错误,这是因为开发环境不能识别这种类型的xml文件.要解决这个问题,就要让IDE开发环境能够“认识”这个文件类型,我们要让IDE环境将这 ...

  4. spring(一)--spring/springmvc/spring+hibernate(mybatis)配置文件

    这篇文章用来总结一下spring,springmvc,spring+mybatis,spring+hibernate的配置文件 1.web.xml 要使用spring,必须在web.xml中定义分发器 ...

  5. mybatis配置文件,注意标签配置顺序。否则报错The content of element type "configuration" must match "(properties?,settings?,...怎么解决

    感谢原作者http://www.cnblogs.com/zhoumingming/p/5417014.html 注意每个标签必须按照顺序写,不然就会提示错误 顺序是 <?xml version= ...

  6. MyBatis入门学习教程-优化MyBatis配置文件中的配置

    一.连接数据库的配置单独放在一个properties文件中 之前,我们是直接将数据库的连接配置信息写在了MyBatis的conf.xml文件中,如下: 1 <?xml version=" ...

  7. MyBatis学习总结(三)——优化MyBatis配置文件中的配置

    一.连接数据库的配置单独放在一个properties文件中 之前,我们是直接将数据库的连接配置信息写在了MyBatis的conf.xml文件中,如下: <?xml version="1 ...

  8. MyBatis——优化MyBatis配置文件中的配置

    原文:http://www.cnblogs.com/xdp-gacl/p/4264301.html 一.连接数据库的配置单独放在一个properties文件中 之前,我们是直接将数据库的连接配置信息写 ...

  9. 【转】MyBatis学习总结(三)——优化MyBatis配置文件中的配置

    [转]MyBatis学习总结(三)——优化MyBatis配置文件中的配置 一.连接数据库的配置单独放在一个properties文件中 之前,我们是直接将数据库的连接配置信息写在了MyBatis的con ...

随机推荐

  1. checkbox点击后出现div

    HTML: <div class="msg_editUrl_function"> <label class="labelChecked" fo ...

  2. VHDL的参数写在一个vhd文件里

    1 参数文件top_pkg.vhd

  3. 【原作】关于Dynpro中的红绿灯显示

    问题源自李宁的需求,就不说了. 关于ABAP中的红绿灯网上也有很多资料,不过貌似都是ABAP的程序,没怎么注意.后来根据需求要在Dynpro上也做出那样的效果,所以,研究了一下. 这种红绿灯在ABAP ...

  4. SpringMVC Model

    处理模型数据 ModelAndView:处理方法返回值类型为ModelAndView时,方法体即可通过该对象添加模型数据. @ModelAttribute:方法入参标注了该注解后,入参对象会放到数据模 ...

  5. 数据库 'MessageManage' 的事务日志已满。若要查明无法重用日志中的空间的原因,请参阅 sys.databases 中的 log_reuse_wait_desc 列。

    提供两种办法:(SQL Server2008) 注意:建议使用第一种方法.第二种方法只是删除已有日志文件,日后还会继续生成. 第一种方法:清空日志. 1.打开企业管理器,直接在查询分析器里执行:(如果 ...

  6. 浏览器主页被hao123贱贱的篡改的一种方式

    今天打开一个PDF文件(正经文件,不要想歪了),误点了一个“编辑”按钮,出来发现浏览器主页被篡改了,包括chrome和IE.通过一个网址"www.qquuu8.com"跳转到hao ...

  7. PHP语言基础简单整理

    1.开始结束标记<? ... ?> 2.定义变量:$变量名 例: $str="锦清笋";不需要指明数据类型 3.输出语句:(1)echo "hello wor ...

  8. 使用Crowd2.7集成Confluence5.3与JIRA6.1,并安装、破解及汉化,实现单点登录【原创】

      鉴于目前没有针对Crowd.Confluence.Jira安装.集成和破解最新的方法,总结今天安装.破解及集成的经验,编写此文,方便大家进行配置也方便自己以后参考.此文参考多篇破解文章,并经过作者 ...

  9. Result Maps collection does not contain value for java.lang.Integer异常处理

    使用Mybatis的时候出现这个问题是因为配置文件的问题造成的,mybatis需要写大量的配置文件, 尽管有mybatis-generator,但是里面的内容有很多还是要自己去写的,在这过程中难免会出 ...

  10. sprig里的controller之间的跳转的问题

    学习spring的controller,发现controller之间的跳转有些地方搞的不是很清楚,如果通过controller的return语句实现跳转的话,会造成request的丢失:具体怎么回事首 ...