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. 【Javascript】重新绑定默认事件

    更多内容,请移步 JSCON-简时空 在有一种场景下,你想先屏蔽掉默认的系统事件,而在特定条件下又重新绑定回去. [场景]H5页面,动画欢迎界面,共6帧:想在前5帧中屏蔽掉默认的touchmove事件 ...

  2. Groovy入门经典 随书重点

    1 数值和表达式 1.1数值 整数是Integer类的实例 有小数部分的数值是BigDecimal类的实例 不同于java,没有基础数据类型 一切皆对象的概念重于java 1.2表达式 两个整数的除法 ...

  3. 我们应当怎样学习HTML和CSS

    目标读者:web前端小白.大神请绕路 学习一门新技术,应当找一本经典入门书,在两三天之内快速翻阅完毕,了解其概貌. 然后再制定一个学习路线图(这个路线图绝大多数情况下非书本目录的顺序),接着遵循学习路 ...

  4. Windows Store App JavaScript 开发:获取文件和文件夹列表

    在应用程序中有时可能需要获取用户库中的内容,以便执行相关的操作.如果要获取某个用户库中的内容,需要先获取到这个用户库,获得用户库可以通过Windows.Storage命名空间中的KnownFolder ...

  5. C#微信公众号接口开发,灵活利用网页授权、带参数二维码、模板消息,提升用户体验之完成用户绑定个人微信及验证码获取

    一.前言 当下微信公众号几乎已经是每个公司必备的,但是大部分微信公众账号用户体验都欠佳,特别是涉及到用户绑定等,需要用户进行复杂的操作才可以和网站绑定,或者很多公司直接不绑定,而是每次都让用户填写账号 ...

  6. tomcat重启脚本

    #!/bin/bashPATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/binexport JAVA_HOME=/opt/jd ...

  7. [字符哈希] POJ 3094 Quicksum

    Quicksum Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 16488   Accepted: 11453 Descri ...

  8. 使用Javascript中变量的setter属性

    在讲JDK的动态代理方法之前,不妨先想想如果让你来实现一个可以任意类的任意方法的代理类,该怎么实现?有个很naive的做法,通过反射获得Class和Method,再调用该方法,并且实现一些代理的方法. ...

  9. SpringMVC 表单标签 & 处理静态资源

    使用 Spring 的表单标签 通过 SpringMVC 的表单标签可以实现将模型数据中的属性和 HTML 表单元素相绑定,以实现表单数据更便捷编辑和表单值的回显. form 标签 一般情况下,通过 ...

  10. 机器学习相关的Awesome系列

    Index Awesome 备注 1 Awesome Machine Learning 机器学习资源大全中文版 2 Awesome Artificial Intelligence 人工智能 3 Awe ...