Dubbo's project startup is wrong.

[basic-data-ds] 2019-01-04 15:13:23 [DEBUG]-[RMI TCP Connection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178)] - Found resource: /com/cargopm/basicdata/dto/SeaportDTO.class
[basic-data-ds] 2019-01-04 15:13:23 [DEBUG]-[RMI TCP Connection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178)] - Found resource: /com/cargopm/basicdata/dto/SequenceDTO.class
[basic-data-ds] 2019-01-04 15:13:23 [DEBUG]-[RMI TCP Connection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178)] - Found resource: /com/cargopm/basicdata/dto/VersionDTO.class
[basic-data-ds] 2019-01-04 15:13:23 [DEBUG]-[RMI TCP Connection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178)] - Found resource: /com/cargopm/basicdata/dto/WarehouseDTO.class
[basic-data-ds] 2019-01-04 15:13:23 [DEBUG]-[RMI TCP Connection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)] - Checking to see if class com.cargopm.basicdata.dto.CityDTO matches criteria [is assignable to Object]
[basic-data-ds] 2019-01-04 15:13:23 [DEBUG]-[RMI TCP Connection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)] - Checking to see if class com.cargopm.basicdata.dto.CodeDTO matches criteria [is assignable to Object]
[basic-data-ds] 2019-01-04 15:13:23 [DEBUG]-[RMI TCP Connection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)] - Checking to see if class com.cargopm.basicdata.dto.ComParameterDTO matches criteria [is assignable to Object]
[basic-data-ds] 2019-01-04 15:13:23 [DEBUG]-[RMI TCP Connection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)] - Checking to see if class com.cargopm.basicdata.dto.CountryDTO matches criteria [is assignable to Object]
[basic-data-ds] 2019-01-04 15:13:23 [DEBUG]-[RMI TCP Connection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)] - Checking to see if class com.cargopm.basicdata.dto.CurrencyDTO matches criteria [is assignable to Object]
[basic-data-ds] 2019-01-04 15:13:23 [DEBUG]-[RMI TCP Connection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)] - Checking to see if class com.cargopm.basicdata.dto.DomainAddressDTO matches criteria [is assignable to Object]
[basic-data-ds] 2019-01-04 15:13:23 [DEBUG]-[RMI TCP Connection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)] - Checking to see if class com.cargopm.basicdata.dto.ProvinceDTO matches criteria [is assignable to Object]
[basic-data-ds] 2019-01-04 15:13:23 [DEBUG]-[RMI TCP Connection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)] - Checking to see if class com.cargopm.basicdata.dto.SeaportDTO matches criteria [is assignable to Object]
[basic-data-ds] 2019-01-04 15:13:23 [DEBUG]-[RMI TCP Connection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)] - Checking to see if class com.cargopm.basicdata.dto.SequenceDTO matches criteria [is assignable to Object]
[basic-data-ds] 2019-01-04 15:13:23 [DEBUG]-[RMI TCP Connection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)] - Checking to see if class com.cargopm.basicdata.dto.VersionDTO matches criteria [is assignable to Object]
[basic-data-ds] 2019-01-04 15:13:23 [DEBUG]-[RMI TCP Connection(3)-127.0.0.1]-[org.apache.ibatis.io.ResolverUtil]-[org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250)] - Checking to see if class com.cargopm.basicdata.dto.WarehouseDTO matches criteria [is assignable to Object]
[basic-data-ds] 2019-01-04 15:13:23 [DEBUG]-[RMI TCP Connection(3)-127.0.0.1]-[org.mybatis.spring.SqlSessionFactoryBean]-[org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:386)] - Scanned package: "com.cargopm.basicdata.dto" for aliases
[basic-data-ds] 2019-01-04 15:13:23 [DEBUG]-[RMI TCP Connection(3)-127.0.0.1]-[org.springframework.beans.factory.support.DefaultListableBeanFactory]-[org.springframework.beans.factory.support.AbstractBeanFactory.getTypeForFactoryBean(AbstractBeanFactory.java:1380)] - Ignoring bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name "warehouseExtMapper" defined in file [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]: Cannot resolve reference to bean "mybatisSqlSessionFactory" while setting bean property "sqlSessionFactory"; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name "mybatisSqlSessionFactory" defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
[basic-data-ds] 2019-01-04 15:13:23 [INFO]-[RMI TCP Connection(3)-127.0.0.1]-[org.springframework.beans.factory.support.DefaultListableBeanFactory]-[org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:444)] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@4cc5a23a: defining beans [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-sharp0,dataSource,txManager,txAdvice,org.springframework.aop.config.internalAutoProxyCreator,allManagerMethod,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor-sharp0,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]; root of factory hierarchy
[basic-data-ds] 2019-01-04 15:13:23 [DEBUG]-[RMI TCP Connection(3)-127.0.0.1]-[org.springframework.beans.factory.support.DisposableBeanAdapter]-[org.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:302)] - Invoking destroy method "close" on bean with name "dataSource"
[basic-data-ds] 2019-01-04 15:13:23 [ERROR]-[RMI TCP Connection(3)-127.0.0.1]-[org.springframework.web.context.ContextLoader]-[org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:331)] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name "cityServiceImpl": Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.cargopm.basicdata.dao.mapper.CityMapper com.cargopm.basicdata.service.impl.CityServiceImpl.cityMapper; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.cargopm.basicdata.dao.mapper.CityMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name "cityMapper" defined in file [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]: Cannot resolve reference to bean "mybatisSqlSessionFactory" while setting bean property "sqlSessionFactory"; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name "mybatisSqlSessionFactory" defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name "codeMapper" defined in file [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]: Cannot resolve reference to bean "mybatisSqlSessionFactory" while setting bean property "sqlSessionFactory"; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name "mybatisSqlSessionFactory" defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name "comParameterMapper" defined in file [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]: Cannot resolve reference to bean "mybatisSqlSessionFactory" while setting bean property "sqlSessionFactory"; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name "mybatisSqlSessionFactory" defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name "countryMapper" defined in file [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]: Cannot resolve reference to bean "mybatisSqlSessionFactory" while setting bean property "sqlSessionFactory"; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name "mybatisSqlSessionFactory" defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name "currencyMapper" defined in file [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]: Cannot resolve reference to bean "mybatisSqlSessionFactory" while setting bean property "sqlSessionFactory"; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name "mybatisSqlSessionFactory" defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name "domainAddressMapper" defined in file [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]: Cannot resolve reference to bean "mybatisSqlSessionFactory" while setting bean property "sqlSessionFactory"; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name "mybatisSqlSessionFactory" defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name "provinceMapper" defined in file [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]: Cannot resolve reference to bean "mybatisSqlSessionFactory" while setting bean property "sqlSessionFactory"; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name "mybatisSqlSessionFactory" defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name "seaportMapper" defined in file [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]: Cannot resolve reference to bean "mybatisSqlSessionFactory" while setting bean property "sqlSessionFactory"; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name "mybatisSqlSessionFactory" defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name "sequenceMapper" defined in file [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]: Cannot resolve reference to bean "mybatisSqlSessionFactory" while setting bean property "sqlSessionFactory"; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name "mybatisSqlSessionFactory" defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name "versionMapper" defined in file [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]: Cannot resolve reference to bean "mybatisSqlSessionFactory" while setting bean property "sqlSessionFactory"; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name "mybatisSqlSessionFactory" defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name "warehouseCoverRelaMapper" defined in file [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]: Cannot resolve reference to bean "mybatisSqlSessionFactory" while setting bean property "sqlSessionFactory"; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name "mybatisSqlSessionFactory" defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name "warehouseMapper" defined in file [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]: Cannot resolve reference to bean "mybatisSqlSessionFactory" while setting bean property "sqlSessionFactory"; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name "mybatisSqlSessionFactory" defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name "seaportExtMapper" defined in file [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]: Cannot resolve reference to bean "mybatisSqlSessionFactory" while setting bean property "sqlSessionFactory"; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name "mybatisSqlSessionFactory" defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name "warehouseExtMapper" defined in file [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]: Cannot resolve reference to bean "mybatisSqlSessionFactory" while setting bean property "sqlSessionFactory"; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name "mybatisSqlSessionFactory" defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1146)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
    at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4861)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1730)
    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:606)
    at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:484)
    at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:433)
    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:606)
    at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487)
    at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)
    at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328)
    at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420)
    at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:848)
    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:606)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
    at sun.rmi.transport.Transport$2.run(Transport.java:202)
    at sun.rmi.transport.Transport$2.run(Transport.java:199)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:198)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.cargopm.basicdata.dao.mapper.CityMapper com.cargopm.basicdata.service.impl.CityServiceImpl.cityMapper; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.cargopm.basicdata.dao.mapper.CityMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:517)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)
    ... 60 more
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.cargopm.basicdata.dao.mapper.CityMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:988)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:858)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:770)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:489)
    ... 62 more
Related cause:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name "cityMapper" defined in file [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]: Cannot resolve reference to bean "mybatisSqlSessionFactory" while setting bean property "sqlSessionFactory"; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name "mybatisSqlSessionFactory" defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getTypeForFactoryBean(AbstractBeanFactory.java:1374)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:750)
    at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:529)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:356)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:334)
    at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:187)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:897)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:855)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:770)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:489)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1146)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
    at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4861)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1730)
    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:606)
    at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:484)
    at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:433)
    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:606)
    at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487)
    at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)
    at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328)
    at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420)
    at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:848)
    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:606)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
    at sun.rmi.transport.Transport$2.run(Transport.java:202)
    at sun.rmi.transport.Transport$2.run(Transport.java:199)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:198)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name "mybatisSqlSessionFactory" defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1512)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:320)
    ... 80 more
Caused by: org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
    at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:437)
    at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:343)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1571)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1509)
    ... 87 more
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
    at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:109)
    at org.apache.ibatis.builder.xml.XMLConfigBuilder.parse(XMLConfigBuilder.java:92)
    at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:431)
    ... 90 more
Caused by: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
    at org.apache.ibatis.builder.xml.XMLConfigBuilder.pluginElement(XMLConfigBuilder.java:142)
    at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:100)
    ... 92 more
Related cause:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name "codeMapper" defined in file [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]: Cannot resolve reference to bean "mybatisSqlSessionFactory" while setting bean property "sqlSessionFactory"; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name "mybatisSqlSessionFactory" defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getTypeForFactoryBean(AbstractBeanFactory.java:1374)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:750)
    at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:529)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:356)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:334)
    at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:187)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:897)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:855)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:770)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:489)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1146)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
    at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4861)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1730)
    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:606)
    at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:484)
    at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:433)
    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:606)
    at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487)
    at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)
    at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328)
    at 

excuse me, where is this mistake caused?

Apr.01,2022

Error creating bean with name 'codeMapper' defined in file [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]: Cannot resolve reference to bean 'mybatisSqlSessionFactory' while setting bean property 'sqlSessionFactory'; 
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mybatisSqlSessionFactory' defined in class path resource [config/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/sqlMapConfig.xml]; 
nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor

is mainly the last line.


Caused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassCastException: com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor
    at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:109)
    at org.apache.ibatis.builder.xml.XMLConfigBuilder.parse(XMLConfigBuilder.java:92)
    at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:431)
    ... 90 more

the main problem is these lines. It should be that your PageHelper is not configured properly


Dubbo Project practice:
https://www.roncoo.com/view/54

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e98876-16e7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e98876-16e7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?