javax.ejb.EJBException: org.hibernate.UnknownEntityTypeException: Unable to locate persister: com.gto.test.Account

Stack Overflow | Nitin Paul | 4 months ago
  1. 0

    JBoss Hibernate Unable to locate persister error

    Stack Overflow | 4 months ago | Nitin Paul
    javax.ejb.EJBException: org.hibernate.UnknownEntityTypeException: Unable to locate persister: com.gto.test.Account
  2. 0

    Hibernate Mapping Exception [Tried previous solutions]

    Stack Overflow | 1 year ago | Saif ullah Minhas
    org.hibernate.UnknownEntityTypeException: Unable to locate persister: com.openlibrary.model.Book
  3. 0

    UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0)

    Stack Overflow | 1 year ago | Mohammad Faisal
    org.hibernate.UnknownEntityTypeException: Unable to locate persister: com.np.vta.test.pojo.Users
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.hibernate.MappingException: Unknown entity: pack1.Persoana

    Stack Overflow | 1 year ago | Ștefan Blaga
    org.hibernate.UnknownEntityTypeException: Unable to locate persister: pack1.Persoana
  6. 0

    Exception in thread "main" org.hibernate.UnknownEntityTypeException: Unable to locate persister

    Stack Overflow | 12 months ago | vineeshchauhan
    org.hibernate.UnknownEntityTypeException: Unable to locate persister: pojo.User

    1 unregistered visitors
    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. org.hibernate.UnknownEntityTypeException

      Unable to locate persister: com.gto.test.Account

      at org.hibernate.internal.SessionFactoryImpl.locateEntityPersister()
    2. Hibernate
      SessionImpl.get
      1. org.hibernate.internal.SessionFactoryImpl.locateEntityPersister(SessionFactoryImpl.java:797)
      2. org.hibernate.internal.SessionImpl.locateEntityPersister(SessionImpl.java:2710)
      3. org.hibernate.internal.SessionImpl.access$2500(SessionImpl.java:164)
      4. org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.<init>(SessionImpl.java:2648)
      5. org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.<init>(SessionImpl.java:2635)
      6. org.hibernate.internal.SessionImpl.byId(SessionImpl.java:1102)
      7. org.hibernate.internal.SessionImpl.get(SessionImpl.java:975)
      7 frames
    3. com.gto.test
      TimerBean.scheduledTimeout
      1. com.gto.test.AccountAccessBean.resigterAccountEvent(AccountAccessBean.java:47)
      2. com.gto.test.TimerBean.scheduledTimeout(TimerBean.java:29)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    5. JBoss Application Server: EE
      ManagedReferenceMethodInterceptor.processInvocation
      1. org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
      1 frame
    6. JBoss Application Server Server
      WeavedInterceptor.processInvocation
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      2. org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:57)
      2 frames
    7. JBoss Application Server: EE
      UserInterceptorFactory$1.processInvocation
      1. org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:61)
      1 frame
    8. JBoss Application Server Server
      InterceptorContext$Invocation.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      2. org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
      2 frames
    9. Weld
      Jsr299BindingsInterceptor.processInvocation
      1. org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82)
      2. org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:95)
      2 frames
    10. JBoss Application Server: EE
      UserInterceptorFactory$1.processInvocation
      1. org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:61)
      1 frame
    11. JBoss Application Server Server
      WeavedInterceptor.processInvocation
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      2. org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:57)
      2 frames
    12. JBoss Application Server: EE
      UserInterceptorFactory$1.processInvocation
      1. org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:61)
      1 frame
    13. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    14. JPA
      SBInvocationInterceptor.processInvocation
      1. org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
      1 frame
    15. JBoss Application Server Server
      InterceptorContext$Invocation.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      2. org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
      2 frames
    16. Weld Implementation
      AbstractEJBRequestScopeActivationInterceptor.aroundInvoke
      1. org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)
      1 frame
    17. Weld
      EjbRequestScopeActivationInterceptor.processInvocation
      1. org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83)
      1 frame
    18. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    19. WildFly: EE
      ConcurrentContextInterceptor.processInvocation
      1. org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
      1 frame
    20. JBoss Application Server Server
      ChainedInterceptor.processInvocation
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      2. org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
      3. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      4. org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
      4 frames
    21. JBoss Application Server: EE
      ComponentDispatcherInterceptor.processInvocation
      1. org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
      1 frame
    22. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    23. JBoss Application Server: EJB Subsystem
      PooledInstanceInterceptor.processInvocation
      1. org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
      1 frame
    24. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    25. JBoss Application Server: EJB Subsystem
      CMTTxInterceptor.processInvocation
      1. org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275)
      2. org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:327)
      3. org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)
      3 frames
    26. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    27. JBoss Application Server: EJB Subsystem
      CurrentInvocationContextInterceptor.processInvocation
      1. org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
      1 frame
    28. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    29. JBoss Application Server: EJB Subsystem
      SecurityContextInterceptor.processInvocation
      1. org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)
      1 frame
    30. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    31. JBoss Application Server: EJB Subsystem
      ShutDownInterceptorFactory$1.processInvocation
      1. org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
      1 frame
    32. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    33. JBoss Application Server: EE
      NamespaceContextInterceptor.processInvocation
      1. org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
      1 frame
    34. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    35. JBoss Application Server: EJB Subsystem
      AdditionalSetupInterceptor.processInvocation
      1. org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
      1 frame
    36. JBoss Application Server Server
      InterceptorContext.run
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      2. org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
      3. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      4. org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
      4 frames
    37. WildFly Security Manager
      WildFlySecurityManager.doChecked
      1. org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)
      1 frame
    38. JBoss Application Server Server
      ChainedInterceptor.processInvocation
      1. org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
      2. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      3. org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
      4. org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
      5. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      6. org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
      6 frames
    39. JBoss Application Server: EJB Subsystem
      TimerServiceImpl$Task$1.run
      1. org.jboss.as.ejb3.timerservice.TimedObjectInvokerImpl.callTimeout(TimedObjectInvokerImpl.java:99)
      2. org.jboss.as.ejb3.timerservice.CalendarTimerTask.invokeBeanMethod(CalendarTimerTask.java:64)
      3. org.jboss.as.ejb3.timerservice.CalendarTimerTask.callTimeout(CalendarTimerTask.java:53)
      4. org.jboss.as.ejb3.timerservice.TimerTask.run(TimerTask.java:155)
      5. org.jboss.as.ejb3.timerservice.TimerServiceImpl$Task$1.run(TimerServiceImpl.java:1214)
      5 frames
    40. org.wildfly.extension
      RequestController$QueuedTask$1.run
      1. org.wildfly.extension.requestcontroller.RequestController$QueuedTask$1.run(RequestController.java:497)
      1 frame
    41. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames
    42. JBoss Threads
      JBossThread.run
      1. org.jboss.threads.JBossThread.run(JBossThread.java:320)
      1 frame