net.sf.hibernate.PropertyNotFoundException: Could not find a getter for foo in class Foo

Hibernate JIRA | Steve Bate | 1 decade ago
  1. 0

    dotCMS Users Group - DotCMS isnt starting: Whats wrong?

    dotcms.com | 11 months ago
    com.dotmarketing.exception.DotHibernateException: Unable to get Hibernate Session
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    dotCMS Users Group - DotCMS isnt starting: Whats wrong?

    dotcms.com | 11 months ago
    com.dotmarketing.exception.DotHibernateException: Error setting Query
  4. 0

    dotCMS Users Group - DotCMS isnt starting: Whats wrong?

    dotcms.com | 11 months ago
    com.dotmarketing.exception.DotHibernateException: Error setting Query

    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. net.sf.hibernate.PropertyNotFoundException

      Could not find a getter for foo in class Foo

      at net.sf.hibernate.property.BasicPropertyAccessor.getGetter()
    2. net.sf.hibernate
      Configuration.addResource
      1. net.sf.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:182)
      2. net.sf.hibernate.util.ReflectHelper.reflectedPropertyType(ReflectHelper.java:59)
      3. net.sf.hibernate.mapping.SimpleValue.setTypeByReflection(SimpleValue.java:170)
      4. net.sf.hibernate.cfg.Binder.createProperty(Binder.java:994)
      5. net.sf.hibernate.cfg.Binder.propertiesFromXML(Binder.java:987)
      6. net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:338)
      7. net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1167)
      8. net.sf.hibernate.cfg.Configuration.add(Configuration.java:245)
      9. net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:268)
      10. net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:291)
      10 frames