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

Stack Overflow | Stephen | 4 years 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

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

    Stack Overflow | 4 years ago | Stephen
    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

  1. odd 2 times, last 4 days ago
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 setter for property salt in class backend.Account

    at org.hibernate.property.BasicPropertyAccessor.createSetter()
  2. Hibernate
    PojoEntityTuplizer.<init>
    1. org.hibernate.property.BasicPropertyAccessor.createSetter(BasicPropertyAccessor.java:252)
    2. org.hibernate.property.BasicPropertyAccessor.getSetter(BasicPropertyAccessor.java:245)
    3. org.hibernate.mapping.Property.getSetter(Property.java:326)
    4. org.hibernate.tuple.entity.PojoEntityTuplizer.buildPropertySetter(PojoEntityTuplizer.java:444)
    5. org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:201)
    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(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    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:507)
    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(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    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:385)
    4. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1769)
    5. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1840)
    5 frames
  7. backend
    Main.main
    1. backend.HibernateSessionFactory.currentSession(HibernateSessionFactory.java:21)
    2. backend.HibernateSessionFactory.getCfg(HibernateSessionFactory.java:48)
    3. backend.Main.main(Main.java:14)
    3 frames