org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'TBL_GroupRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not an managed type: class database.mts.dataobjects.TBL_GroupDO

Stack Overflow | user3321551 | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Spring Boot: Repository and Entity beans not recognized error

    Stack Overflow | 8 months ago | user3321551
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'TBL_GroupRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not an managed type: class database.mts.dataobjects.TBL_GroupDO
  2. 0

    Spring LDAP using Java Configuration

    Stack Overflow | 2 years ago | Jane
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'groupController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.cazysystems.appstore.domain.GroupRepo com.eazysystems.appstore.controller.GroupController.groupRepo; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'groupRepo': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not an managed type: class com.cazysystems.appstore.domain.Group
  3. 0

    GitHub comment 4519#175018509

    GitHub | 1 year ago | navaneethshyam-gmail
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shambalamBusinessService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.sud.shambalam.data.repository.EmployeeMasterRepo com.sud.shambalam.business.service.ShambalamBusinessService.empMaster; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'employeeMasterRepo': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not an managed type: class com.sud.shambalam.domain.Employee
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring BeanCreationException : Bean instantiation via factory method failed nested exception

    Stack Overflow | 1 year ago | ValentinD
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: public com.nickeed.ServiceInterface.UserServiceInterface com.nickeed.controller.UserController.UserServiceInterface; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.nickeed.repository.UserRepository com.nickeed.ServiceImpl.UserServiceImpl.userRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not an managed type: class com.nickeed.model.User
  6. 0

    Spring dont found entity after refactoring name package

    Stack Overflow | 3 months ago | ⴱⵓⵖⴰⵏⵉ ⵔⴰⴼⵉⵇ
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'controlRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not an managed type: class cc.fr.suivireco.model.ControleEntity
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.IllegalArgumentException

    Not an managed type: class database.mts.dataobjects.TBL_GroupDO

    at org.hibernate.jpa.internal.metamodel.MetamodelImpl.managedType()
  2. org.hibernate.jpa
    MetamodelImpl.managedType
    1. org.hibernate.jpa.internal.metamodel.MetamodelImpl.managedType(MetamodelImpl.java:219)[hibernate-entitymanager-4.3.11.Final.jar:4.3.11.Final]
    1 frame
  3. Spring Data JPA
    JpaRepositoryFactory.getTargetRepository
    1. org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation.<init>(JpaMetamodelEntityInformation.java:68)[spring-data-jpa-1.9.4.RELEASE.jar:na]
    2. org.springframework.data.jpa.repository.support.JpaEntityInformationSupport.getEntityInformation(JpaEntityInformationSupport.java:67)[spring-data-jpa-1.9.4.RELEASE.jar:na]
    3. org.springframework.data.jpa.repository.support.JpaRepositoryFactory.getEntityInformation(JpaRepositoryFactory.java:152)[spring-data-jpa-1.9.4.RELEASE.jar:na]
    4. org.springframework.data.jpa.repository.support.JpaRepositoryFactory.getTargetRepository(JpaRepositoryFactory.java:99)[spring-data-jpa-1.9.4.RELEASE.jar:na]
    5. org.springframework.data.jpa.repository.support.JpaRepositoryFactory.getTargetRepository(JpaRepositoryFactory.java:81)[spring-data-jpa-1.9.4.RELEASE.jar:na]
    5 frames
  4. Spring Data Core
    RepositoryFactoryBeanSupport.afterPropertiesSet
    1. org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:185)[spring-data-commons-1.11.4.RELEASE.jar:na]
    2. org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.initAndReturn(RepositoryFactoryBeanSupport.java:251)[spring-data-commons-1.11.4.RELEASE.jar:na]
    3. org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:237)[spring-data-commons-1.11.4.RELEASE.jar:na]
    3 frames
  5. Spring Data JPA
    JpaRepositoryFactoryBean.afterPropertiesSet
    1. org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean.afterPropertiesSet(JpaRepositoryFactoryBean.java:92)[spring-data-jpa-1.9.4.RELEASE.jar:na]
    1 frame
  6. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    9. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:753)[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    9 frames
  7. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)[spring-context-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)[spring-context-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2 frames
  8. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:760)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    2. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:360)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    3. org.springframework.boot.SpringApplication.run(SpringApplication.java:306)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    5 frames
  9. database
    Application.main
    1. database.Application.main(Application.java:30)[bin/:na]
    1 frame