[basic-data-ds]2019-01-0415:13:23[DEBUG]-[RMITCPConnection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178)]-Foundresource:/com/cargopm/basicdata/dto/SeaportDTO.class[basic-data-ds]2019-01-0415:13:23[DEBUG]-[RMITCPConnection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178)]-Foundresource:/com/cargopm/basicdata/dto/SequenceDTO.class[basic-data-ds]2019-01-0415:13:23[DEBUG]-[RMITCPConnection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178)]-Foundresource:/com/cargopm/basicdata/dto/VersionDTO.class[basic-data-ds]2019-01-0415:13:23[DEBUG]-[RMITCPConnection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178)]-Foundresource:/com/cargopm/basicdata/dto/WarehouseDTO.class[basic-data-ds]2019-01-0415:13:23[DEBUG]-[RMITCPConnection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)]-Checkingtoseeifclasscom.cargopm.basicdata.dto.CityDTOmatchescriteria[isassignabletoObject][basic-data-ds]2019-01-0415:13:23[DEBUG]-[RMITCPConnection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)]-Checkingtoseeifclasscom.cargopm.basicdata.dto.CodeDTOmatchescriteria[isassignabletoObject][basic-data-ds]2019-01-0415:13:23[DEBUG]-[RMITCPConnection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)]-Checkingtoseeifclasscom.cargopm.basicdata.dto.ComParameterDTOmatchescriteria[isassignabletoObject][basic-data-ds]2019-01-0415:13:23[DEBUG]-[RMITCPConnection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)]-Checkingtoseeifclasscom.cargopm.basicdata.dto.CountryDTOmatchescriteria[isassignabletoObject][basic-data-ds]2019-01-0415:13:23[DEBUG]-[RMITCPConnection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)]-Checkingtoseeifclasscom.cargopm.basicdata.dto.CurrencyDTOmatchescriteria[isassignabletoObject][basic-data-ds]2019-01-0415:13:23[DEBUG]-[RMITCPConnection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)]-Checkingtoseeifclasscom.cargopm.basicdata.dto.DomainAddressDTOmatchescriteria[isassignabletoObject][basic-data-ds]2019-01-0415:13:23[DEBUG]-[RMITCPConnection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)]-Checkingtoseeifclasscom.cargopm.basicdata.dto.ProvinceDTOmatchescriteria[isassignabletoObject][basic-data-ds]2019-01-0415:13:23[DEBUG]-[RMITCPConnection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)]-Checkingtoseeifclasscom.cargopm.basicdata.dto.SeaportDTOmatchescriteria[isassignabletoObject][basic-data-ds]2019-01-0415:13:23[DEBUG]-[RMITCPConnection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)]-Checkingtoseeifclasscom.cargopm.basicdata.dto.SequenceDTOmatchescriteria[isassignabletoObject][basic-data-ds]2019-01-0415:13:23[DEBUG]-[RMITCPConnection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)]-Checkingtoseeifclasscom.cargopm.basicdata.dto.VersionDTOmatchescriteria[isassignabletoObject][basic-data-ds]2019-01-0415:13:23[DEBUG]-[RMITCPConnection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)]-Checkingtoseeifclasscom.cargopm.basicdata.dto.WarehouseDTOmatchescriteria[isassignabletoObject][basic-data-ds]2019-01-0415:13:23[DEBUG]-[RMITCPConnection(3)-127.0.0.1]-[org.mybatis.spring.SqlSessionFactoryBean]-[org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:386)]-Scannedpackage:'com.cargopm.basicdata.dto'foraliases[basic-data-ds]2019-01-0415:13:23[DEBUG]-[RMITCPConnection(3)-127.0.0.1]-[org.springframework.beans.factory.support.DefaultListableBeanFactory]-[org.springframework.beans.factory.support.AbstractBeanFactory.getTypeForFactoryBean(AbstractBeanFactory.java:1380)]-IgnoringbeancreationexceptiononFactoryBeantypecheck:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'warehouseExtMapper'definedinfile[C:\javaWorkSpace\cms\basic-data\basic-data-ds\target\basic-data-ds-1.0.0-SNAPSHOT\WEB-INF\classes\com\cargopm\basicdata\daoext\mapper\WarehouseExtMapper.class]:Cannotresolvereferencetobean'mybatisSqlSessionFactory'whilesettingbeanproperty'sqlSessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.Interceptor[basic-data-ds]2019-01-0415:13:23[INFO]-[RMITCPConnection(3)-127.0.0.1]-[org.springframework.beans.factory.support.DefaultListableBeanFactory]-[org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:444)]-Destroyingsingletonsinorg.springframework.beans.factory.support.DefaultListableBeanFactory@4cc5a23a:definingbeans[cityServiceImpl,codeServiceImpl,comParameterServiceImpl,countryServiceImpl,currencyServiceImpl,domainAddressServiceImpl,provinceServiceImpl,seaportServiceImpl,sequenceServiceImpl,versionServiceImpl,warehouseServiceImpl,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,propertyConfigurer,mybatisSqlSessionFactory,org.mybatis.spring.mapper.MapperScannerConfigurer#0,dataSource,txManager,txAdvice,org.springframework.aop.config.internalAutoProxyCreator,allManagerMethod,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,basic-data-ds,com.alibaba.dubbo.config.RegistryConfig,com.alibaba.dubbo.config.ProviderConfig,dubbo,com.cargopm.basicdata.service.DomainAddressService,com.cargopm.basicdata.service.CountryService,com.cargopm.basicdata.service.ProvinceService,com.cargopm.basicdata.service.CityService,com.cargopm.basicdata.service.CurrencyService,com.cargopm.basicdata.service.VersionService,com.cargopm.basicdata.service.SeaportService,com.cargopm.basicdata.service.CodeService,com.cargopm.basicdata.service.SequenceService,com.cargopm.basicdata.service.WarehouseService,com.cargopm.basicdata.service.ComParameterService,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,cityMapper,codeMapper,comParameterMapper,countryMapper,currencyMapper,domainAddressMapper,provinceMapper,seaportMapper,sequenceMapper,versionMapper,warehouseCoverRelaMapper,warehouseMapper,seaportExtMapper,warehouseExtMapper];rootoffactoryhierarchy[basic-data-ds]2019-01-0415:13:23[DEBUG]-[RMITCPConnection(3)-127.0.0.1]-[org.springframework.beans.factory.support.DisposableBeanAdapter]-[org.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:302)]-Invokingdestroymethod'close'onbeanwithname'dataSource'[basic-data-ds]2019-01-0415:13:23[ERROR]-[RMITCPConnection(3)-127.0.0.1]-[org.springframework.web.context.ContextLoader]-[org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:331)]-Contextinitializationfailedorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'cityServiceImpl':Injectionofautowireddependenciesfailed;nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Couldnotautowirefield:privatecom.cargopm.basicdata.dao.mapper.CityMappercom.cargopm.basicdata.service.impl.CityServiceImpl.cityMapper;nestedexceptionisorg.springframework.beans.factory.NoSuchBeanDefinitionException:Noqualifyingbeanoftype[com.cargopm.basicdata.dao.mapper.CityMapper]foundfordependency:expectedatleast1beanwhichqualifiesasautowirecandidateforthisdependency.Dependencyannotations:{@org.springframework.beans.factory.annotation.Autowired(required=true)}Relatedcause:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'cityMapper'definedinfile[C:\javaWorkSpace\cms\basic-data\basic-data-ds\target\basic-data-ds-1.0.0-SNAPSHOT\WEB-INF\classes\com\cargopm\basicdata\dao\mapper\CityMapper.class]:Cannotresolvereferencetobean'mybatisSqlSessionFactory'whilesettingbeanproperty'sqlSessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.InterceptorRelatedcause:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'codeMapper'definedinfile[C:\javaWorkSpace\cms\basic-data\basic-data-ds\target\basic-data-ds-1.0.0-SNAPSHOT\WEB-INF\classes\com\cargopm\basicdata\dao\mapper\CodeMapper.class]:Cannotresolvereferencetobean'mybatisSqlSessionFactory'whilesettingbeanproperty'sqlSessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.InterceptorRelatedcause:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'comParameterMapper'definedinfile[C:\javaWorkSpace\cms\basic-data\basic-data-ds\target\basic-data-ds-1.0.0-SNAPSHOT\WEB-INF\classes\com\cargopm\basicdata\dao\mapper\ComParameterMapper.class]:Cannotresolvereferencetobean'mybatisSqlSessionFactory'whilesettingbeanproperty'sqlSessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.InterceptorRelatedcause:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'countryMapper'definedinfile[C:\javaWorkSpace\cms\basic-data\basic-data-ds\target\basic-data-ds-1.0.0-SNAPSHOT\WEB-INF\classes\com\cargopm\basicdata\dao\mapper\CountryMapper.class]:Cannotresolvereferencetobean'mybatisSqlSessionFactory'whilesettingbeanproperty'sqlSessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.InterceptorRelatedcause:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'currencyMapper'definedinfile[C:\javaWorkSpace\cms\basic-data\basic-data-ds\target\basic-data-ds-1.0.0-SNAPSHOT\WEB-INF\classes\com\cargopm\basicdata\dao\mapper\CurrencyMapper.class]:Cannotresolvereferencetobean'mybatisSqlSessionFactory'whilesettingbeanproperty'sqlSessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.InterceptorRelatedcause:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'domainAddressMapper'definedinfile[C:\javaWorkSpace\cms\basic-data\basic-data-ds\target\basic-data-ds-1.0.0-SNAPSHOT\WEB-INF\classes\com\cargopm\basicdata\dao\mapper\DomainAddressMapper.class]:Cannotresolvereferencetobean'mybatisSqlSessionFactory'whilesettingbeanproperty'sqlSessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.InterceptorRelatedcause:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'provinceMapper'definedinfile[C:\javaWorkSpace\cms\basic-data\basic-data-ds\target\basic-data-ds-1.0.0-SNAPSHOT\WEB-INF\classes\com\cargopm\basicdata\dao\mapper\ProvinceMapper.class]:Cannotresolvereferencetobean'mybatisSqlSessionFactory'whilesettingbeanproperty'sqlSessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.InterceptorRelatedcause:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'seaportMapper'definedinfile[C:\javaWorkSpace\cms\basic-data\basic-data-ds\target\basic-data-ds-1.0.0-SNAPSHOT\WEB-INF\classes\com\cargopm\basicdata\dao\mapper\SeaportMapper.class]:Cannotresolvereferencetobean'mybatisSqlSessionFactory'whilesettingbeanproperty'sqlSessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.InterceptorRelatedcause:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'sequenceMapper'definedinfile[C:\javaWorkSpace\cms\basic-data\basic-data-ds\target\basic-data-ds-1.0.0-SNAPSHOT\WEB-INF\classes\com\cargopm\basicdata\dao\mapper\SequenceMapper.class]:Cannotresolvereferencetobean'mybatisSqlSessionFactory'whilesettingbeanproperty'sqlSessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.InterceptorRelatedcause:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'versionMapper'definedinfile[C:\javaWorkSpace\cms\basic-data\basic-data-ds\target\basic-data-ds-1.0.0-SNAPSHOT\WEB-INF\classes\com\cargopm\basicdata\dao\mapper\VersionMapper.class]:Cannotresolvereferencetobean'mybatisSqlSessionFactory'whilesettingbeanproperty'sqlSessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.InterceptorRelatedcause:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'warehouseCoverRelaMapper'definedinfile[C:\javaWorkSpace\cms\basic-data\basic-data-ds\target\basic-data-ds-1.0.0-SNAPSHOT\WEB-INF\classes\com\cargopm\basicdata\dao\mapper\WarehouseCoverRelaMapper.class]:Cannotresolvereferencetobean'mybatisSqlSessionFactory'whilesettingbeanproperty'sqlSessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.InterceptorRelatedcause:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'warehouseMapper'definedinfile[C:\javaWorkSpace\cms\basic-data\basic-data-ds\target\basic-data-ds-1.0.0-SNAPSHOT\WEB-INF\classes\com\cargopm\basicdata\dao\mapper\WarehouseMapper.class]:Cannotresolvereferencetobean'mybatisSqlSessionFactory'whilesettingbeanproperty'sqlSessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.InterceptorRelatedcause:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'seaportExtMapper'definedinfile[C:\javaWorkSpace\cms\basic-data\basic-data-ds\target\basic-data-ds-1.0.0-SNAPSHOT\WEB-INF\classes\com\cargopm\basicdata\daoext\mapper\SeaportExtMapper.class]:Cannotresolvereferencetobean'mybatisSqlSessionFactory'whilesettingbeanproperty'sqlSessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.InterceptorRelatedcause:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'warehouseExtMapper'definedinfile[C:\javaWorkSpace\cms\basic-data\basic-data-ds\target\basic-data-ds-1.0.0-SNAPSHOT\WEB-INF\classes\com\cargopm\basicdata\daoext\mapper\WarehouseExtMapper.class]:Cannotresolvereferencetobean'mybatisSqlSessionFactory'whilesettingbeanproperty'sqlSessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.Interceptoratorg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1146)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)atorg.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)atorg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)atorg.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)atorg.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)atorg.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)atorg.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4861)atorg.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)atorg.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1730)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:606)atorg.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)atcom.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)atorg.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:484)atorg.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:433)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:606)atorg.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)atcom.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)atjavax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487)atjavax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)atjavax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328)atjavax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420)atjavax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:848)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:606)atsun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)atsun.rmi.transport.Transport$2.run(Transport.java:202)atsun.rmi.transport.Transport$2.run(Transport.java:199)atjava.security.AccessController.doPrivileged(NativeMethod)atsun.rmi.transport.Transport.serviceCall(Transport.java:198)atsun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567)atsun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)atsun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619)atsun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684)atsun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681)atjava.security.AccessController.doPrivileged(NativeMethod)atsun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681)atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)atjava.lang.Thread.run(Thread.java:745)Causedby:org.springframework.beans.factory.BeanCreationException:Couldnotautowirefield:privatecom.cargopm.basicdata.dao.mapper.CityMappercom.cargopm.basicdata.service.impl.CityServiceImpl.cityMapper;nestedexceptionisorg.springframework.beans.factory.NoSuchBeanDefinitionException:Noqualifyingbeanoftype[com.cargopm.basicdata.dao.mapper.CityMapper]foundfordependency:expectedatleast1beanwhichqualifiesasautowirecandidateforthisdependency.Dependencyannotations:{@org.springframework.beans.factory.annotation.Autowired(required=true)}atorg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:517)atorg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)atorg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)...60moreCausedby:org.springframework.beans.factory.NoSuchBeanDefinitionException:Noqualifyingbeanoftype[com.cargopm.basicdata.dao.mapper.CityMapper]foundfordependency:expectedatleast1beanwhichqualifiesasautowirecandidateforthisdependency.Dependencyannotations:{@org.springframework.beans.factory.annotation.Autowired(required=true)}atorg.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:988)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:858)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:770)atorg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:489)...62moreRelatedcause:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'cityMapper'definedinfile[C:\javaWorkSpace\cms\basic-data\basic-data-ds\target\basic-data-ds-1.0.0-SNAPSHOT\WEB-INF\classes\com\cargopm\basicdata\dao\mapper\CityMapper.class]:Cannotresolvereferencetobean'mybatisSqlSessionFactory'whilesettingbeanproperty'sqlSessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.Interceptoratorg.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326)atorg.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)atorg.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)atorg.springframework.beans.factory.support.AbstractBeanFactory.getTypeForFactoryBean(AbstractBeanFactory.java:1374)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:750)atorg.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:529)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:356)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:334)atorg.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:187)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:897)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:855)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:770)atorg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:489)atorg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)atorg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1146)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)atorg.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)atorg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)atorg.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)atorg.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)atorg.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)atorg.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4861)atorg.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)atorg.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1730)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:606)atorg.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)atcom.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)atorg.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:484)atorg.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:433)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:606)atorg.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)atcom.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)atjavax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487)atjavax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)atjavax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328)atjavax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420)atjavax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:848)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:606)atsun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)atsun.rmi.transport.Transport$2.run(Transport.java:202)atsun.rmi.transport.Transport$2.run(Transport.java:199)atjava.security.AccessController.doPrivileged(NativeMethod)atsun.rmi.transport.Transport.serviceCall(Transport.java:198)atsun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567)atsun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)atsun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619)atsun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684)atsun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681)atjava.security.AccessController.doPrivileged(NativeMethod)atsun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681)atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)atjava.lang.Thread.run(Thread.java:745)Causedby:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.Interceptoratorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1512)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)atorg.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)atorg.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:320)...80moreCausedby:org.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.Interceptoratorg.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:437)atorg.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:343)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1571)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1509)...87moreCausedby:org.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.Interceptoratorg.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:109)atorg.apache.ibatis.builder.xml.XMLConfigBuilder.parse(XMLConfigBuilder.java:92)atorg.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:431)...90moreCausedby:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.Interceptoratorg.apache.ibatis.builder.xml.XMLConfigBuilder.pluginElement(XMLConfigBuilder.java:142)atorg.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:100)...92moreRelatedcause:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'codeMapper'definedinfile[C:\javaWorkSpace\cms\basic-data\basic-data-ds\target\basic-data-ds-1.0.0-SNAPSHOT\WEB-INF\classes\com\cargopm\basicdata\dao\mapper\CodeMapper.class]:Cannotresolvereferencetobean'mybatisSqlSessionFactory'whilesettingbeanproperty'sqlSessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.Interceptoratorg.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326)atorg.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)atorg.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)atorg.springframework.beans.factory.support.AbstractBeanFactory.getTypeForFactoryBean(AbstractBeanFactory.java:1374)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:750)atorg.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:529)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:356)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:334)atorg.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:187)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:897)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:855)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:770)atorg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:489)atorg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)atorg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1146)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)atorg.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)atorg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)atorg.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)atorg.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)atorg.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)atorg.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4861)atorg.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)atorg.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1730)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:606)atorg.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)atcom.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)atorg.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:484)atorg.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:433)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:606)atorg.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)atcom.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)atjavax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487)atjavax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)atjavax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328)at请问这个错是哪里导致的??
2 回答
慕姐8265434
TA贡献1813条经验 获得超2个赞
Errorcreatingbeanwithname'codeMapper'definedinfile[C:\javaWorkSpace\cms\basic-data\basic-data-ds\target\basic-data-ds-1.0.0-SNAPSHOT\WEB-INF\classes\com\cargopm\basicdata\dao\mapper\CodeMapper.class]:Cannotresolvereferencetobean'mybatisSqlSessionFactory'whilesettingbeanproperty'sqlSessionFactory';nestedexceptionisorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'mybatisSqlSessionFactory'definedinclasspathresource[config/applicationContext.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[config/sqlMapConfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:java.lang.ClassCastException:com.github.pagehelper.PageHelpercannotbecasttoorg.apache.ibatis.plugin.Interceptor主要是最后一行。
添加回答
举报
0/150
提交
取消