org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.github.pagehelper.autoconfigure.MapperAutoConfiguration': Invocation of init method failed; nested exception is java.lang.RuntimeException: tk.mybatis.mapper.provider.EmptyProvider中缺少selectOne方法!

GitHub | workcheng | 1 month ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    demo on mac

    openl-tablets | 2 years ago | aggubin
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demoInitializer': Invocation of init method failed; nested exception is java.lang.NullPointerException
  2. 0

    Erro ao executar projeto vraptor+maven - Javafree: O fórum de Java que mais cresce

    com.br | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'criadorDeSessionFactory': Invocation of init method failed; nested exception is java.lang.IncompatibleClassChangeError: Implementing class
  3. 0

    VRAPTOR - Erro exercício Validator

    com.br | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'criadorDeSessionFactory': Invocation of init method failed; nested exception is org.hibernate.HibernateException: Unable to get the default Bean Validation factory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Vraptor 3 + JPA

    com.br | 2 years ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactoryCreator': Invocation of init method failed; nested exception is javax.persistence.PersistenceException: No Persistence provider for EntityManager named default

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      tk.mybatis.mapper.provider.EmptyProvider中缺少selectOne方法!

      at tk.mybatis.mapper.mapperhelper.MapperHelper.fromMapperClass()
    2. tk.mybatis.mapper
      MapperHelper.registerMapper
      1. tk.mybatis.mapper.mapperhelper.MapperHelper.fromMapperClass(MapperHelper.java:159)
      2. tk.mybatis.mapper.mapperhelper.MapperHelper.registerMapper(MapperHelper.java:173)
      3. tk.mybatis.mapper.mapperhelper.MapperHelper.registerMapper(MapperHelper.java:179)
      4. tk.mybatis.mapper.mapperhelper.MapperHelper.registerMapper(MapperHelper.java:179)
      5. tk.mybatis.mapper.mapperhelper.MapperHelper.registerMapper(MapperHelper.java:179)
      6. tk.mybatis.mapper.mapperhelper.MapperHelper.registerMapper(MapperHelper.java:179)
      6 frames
    3. com.github.pagehelper
      MapperAutoConfiguration.addPageInterceptor
      1. com.github.pagehelper.autoconfigure.MapperAutoConfiguration.addPageInterceptor(MapperAutoConfiguration.java:64)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
      2. org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)
      3. org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1620)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
      8. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
      9. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      10. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
      11. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
      12. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
      12 frames
    6. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
      2 frames
    7. Spring Boot
      SpringApplication.run
      1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
      2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:737)
      3. org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:370)
      4. org.springframework.boot.SpringApplication.run(SpringApplication.java:314)
      5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1162)
      6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1151)
      6 frames
    8. com.example
      Application.main
      1. com.example.Application.main(Application.java:25)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    10. org.springframework.boot
      RestartLauncher.run
      1. org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
      1 frame