org.hibernate.AnnotationException

Annotated class should have an @Entity, @Embeddable or @EmbeddedSuperclass annotation: com.***.DeviceFirmwareFamilyImpl

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web106

  • via Unknown by Adrian Sampaleanu,
  • via Unknown by Adrian Sampaleanu,
  • via Unknown by Wolfgang Gottesheim,
  • Stack trace

    • org.hibernate.AnnotationException: Annotated class should have an @Entity, @Embeddable or @EmbeddedSuperclass annotation: com.***.DeviceFirmwareFamilyImpl at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:274) at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:174) at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:825) at org.hibernate.tool.ant.ConfigurationTask.getConfiguration(ConfigurationTask.java:51) at org.hibernate.tool.ant.HibernateToolTask.getConfiguration(HibernateToolTask.java:150) at org.hibernate.tool.ant.Hbm2DDLGeneratorTask.execute(Hbm2DDLGeneratorTask.java:38) at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:115)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    oddodd
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,