org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister

csdn.net | 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

    transactions-org.hibernate.MappingException问题?——CSDN问答频道

    csdn.net | 8 months ago
    org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister
  2. 0

    Getting InvalidMappingException : Could not parse mapping document from resource

    Stack Overflow | 2 years ago | Kaveen Kumarasinghe
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'homeController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.spring.hibernate.dao.DAOImpl com.spring.hibernate.controller.HomeController.daoImpl; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoImpl' defined in ServletContext resource [/WEB-INF/spring/appServlet/servlet-context.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/spring/appServlet/servlet-context.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister
  3. 0

    MappingException: Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister

    Stack Overflow | 2 years ago | Vinicius Lemos
    javax.faces.FacesException: ${usuarioManager.logar}: java.lang.ExceptionInInitializerError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    10 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.PropertyNotFoundException

      Could not find a getter for registDate in class com.aliyun.house1848.hibernate.test.AdminInfo

      at org.hibernate.property.BasicPropertyAccessor.createGetter()
    2. Hibernate
      PojoEntityTuplizer.<init>
      1. org.hibernate.property.BasicPropertyAccessor.createGetter(BasicPropertyAccessor.java:316)
      2. org.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:310)
      3. org.hibernate.mapping.Property.getGetter(Property.java:321)
      4. org.hibernate.tuple.entity.PojoEntityTuplizer.buildPropertyGetter(PojoEntityTuplizer.java:444)
      5. org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:200)
      6. org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:82)
      6 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      4 frames
    4. Hibernate
      SingleTableEntityPersister.<init>
      1. org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:135)
      2. org.hibernate.tuple.entity.EntityTuplizerFactory.constructDefaultTuplizer(EntityTuplizerFactory.java:188)
      3. org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:341)
      4. org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:506)
      5. org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:146)
      5 frames
    5. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      4 frames
    6. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.persister.internal.PersisterFactoryImpl.create(PersisterFactoryImpl.java:163)
      2. org.hibernate.persister.internal.PersisterFactoryImpl.createEntityPersister(PersisterFactoryImpl.java:135)
      3. org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:389)
      4. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799)
      4 frames
    7. com.aliyun.house1848
      HibernateTest.main
      1. com.aliyun.house1848.hibernate.test.HibernateTest.main(HibernateTest.java:35)
      1 frame