1 Reply Latest reply on Jan 3, 2012 9:14 AM by Adam Warski

    Error : org.hibernate.type.EnumType

    Alex Sem Newbie

      I've hibernate (xml mapping) running project.

      I've only appended maven dependency to hibernate-envers 4.0.0 FINAL and a project doesn't start(deploy) with error

      "Caused by: org.hibernate.MappingException: Could not determine type for: org.hibernate.type.EnumType" .

      at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:292)

                at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:276)

                at org.hibernate.mapping.Property.isValid(Property.java:207)

                at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:458)

                at org.hibernate.mapping.RootClass.validate(RootClass.java:215)

       

       

      Any advice of an expert?

       

      Thanks