} } }

    Exception mybatis 设备文件:<typeAlias alias="*

    添加时间:2013-8-6 点击量:

    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,PersonTypeJob,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,PeopleRule,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,SendUserConfigManagerDao,SendUserConfigManager,ionRulesConfigManagerDao,ionRulesConfigManager,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||||)+.
    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||||)+.
    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||||)+.
    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||||)+.
    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||||)+.
    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||||)+.
    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||||)+.
    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||||)+.
    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


    彼此相爱,却不要让爱成了束缚:不如让它成为涌动的大海,两岸乃是你们的灵魂。互斟满杯,却不要同饮一杯。相赠面包,却不要共食一个。一起歌舞欢喜,却依然各自独立,相互交心,却不是让对方收藏。因为唯有生命之手,方能收容你们的心。站在一起却不要过于靠近。—— 纪伯伦《先知》
    分享到: