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. SASS的安装及使用(前提:安装Ruby)

    本文仅适用于Windows系统. 一.安装Ruby Sass是用Ruby语言写的,但是两者的语法没有关系,所以学 Sass 不用学 Ruby,只是必须先安装Ruby,然后再安装Sass. Linux和 ...

  2. lesson32 Shopping for food

    EMPLOYEE: undefined763cff06-f7fc-4a01-b5f8-c78a2f0110ae.mp3 Can I help you, Sir? 0先生,我能帮你吗? BOB: und ...

  3. 工作需求----表单多选框checkbox交互

    关于多选框,反选及选取几个: 1.html内容 <!--begin checkbox--> <div class="c_n_manage_tablexx"> ...

  4. c#实现远程操作svn

    /// <summary> /// 本地svn服务器地址 /// </summary> private static string localSVN = Configurati ...

  5. PDF 补丁丁 0.5.0.2713 发布(替换字库功能修正字符宽度问题)

    新版本替换字库后,采用新字库的字符宽度.基本上可以满足一般的字库替换需求.请下载新版本测试.

  6. ASP.NET MVC为字段设置多语言显示 [转]

    这段时间一直在忙.NET的项目,今天就写一下关于.NET的文章吧,也很长时间没写过.NET的啦  在使用ASP.NET MVC3 的时候,使用元数据模式可以非常方便地设置每个 字段(或者说属性)以减少 ...

  7. 实现UniqueAttribute唯一性约束,sqlunique约束[转]

    using System; using System.ComponentModel.DataAnnotations; using System.Data.Entity; namespace Zwj.T ...

  8. Shell study note

    td p { margin-bottom: 0in } p { margin-bottom: 0.1in; line-height: 120% } a:link { } 5.1 printenv vi ...

  9. bzoj2006: [NOI2010]超级钢琴

    题意:给一个序列(n<=500000),要求选定k个不同区间,使得区间长度在L,R之间,并使得k个区间和之和最大,输出这个最大值. 刚拿到题的时候想的是,对于每个点,如果以它开头,那么之后的L- ...

  10. Git & GitHub

    使用 Git 和 GitHub 有一段时间了,总结下经验. 起初接触 Git 是先遇到 GitHub 的,当时傻傻分不清这两者的区别,毕竟名字都那么像,刚开始只想用酷酷的方法 clone 代码(SSH ...