Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#322 hibernate annotations typedef is not supported

v4.8.1
closed
nobody
None
5
2013-09-12
2013-01-12
john
No

http://docs.jboss.org/hibernate/annotations/3.5/reference/en/html_single/#entity-hibspec-property

The Type annotation specifies a name referencing a TypeDef, not a class name. This results in a ClassNotFoundException from openxava's metadata parser.

Jan 12, 2013 4:02:50 PM org.openxava.controller.ModuleManager manageRegularException
SEVERE: java.lang.ClassNotFoundException: <value of 'type' parameter in @Type annotation>
java.lang.RuntimeException: java.lang.ClassNotFoundException: encryptedPassword
        at org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:51)
        at org.openxava.component.ComponentParser.parse(ComponentParser.java:36)
        at org.openxava.component.MetaComponent.get(MetaComponent.java:60)
.....
Caused by: java.lang.ClassNotFoundException: <value of 'type' parameter in @Type annotation>
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:186)
        at org.openxava.annotations.parse.AnnotatedClassParser.addConverter(AnnotatedClassParser.java:757)
        at org.openxava.annotations.parse.AnnotatedClassParser.addProperty(AnnotatedClassParser.java:685)
        at org.openxava.annotations.parse.AnnotatedClassParser.addMember(AnnotatedClassParser.java:230)
        at org.openxava.annotations.parse.AnnotatedClassParser.parseMembers(AnnotatedClassParser.java:173)
        at org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:91)
        at org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:47)

Discussion

  • Javier Paniza
    Javier Paniza
    2013-09-12

    • status: open --> closed
    • Group: v4.6.1 --> v4.8.1