org.hibernate.MappingException: Following superclasses referenced in extends not found: EntityHasName

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Stefan Wachter, 1 year ago
Following superclasses referenced in extends not found: EntityHasName
via Hibernate JIRA by Stefan Wachter, 1 year ago
Following superclasses referenced in extends not found: EntityHasName
via Coderanch by Shubham Semwal, 11 months ago
via Hibernate JIRA by Stephen Chin, 1 year ago
Following superclasses referenced in extends not found: org.gs1.v202.gdsn.RegistryPartyDataDumpType
via Hibernate JIRA by Stephen Chin, 1 year ago
Following superclasses referenced in extends not found: org.gs1.v202.gdsn.RegistryPartyDataDumpType
org.hibernate.MappingException: Following superclasses referenced in extends not found: EntityHasName
at org.hibernate.cfg.Configuration.processExtendsQueue(Configuration.java:919)
at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:853)
at org.hibernate.cfg.Configuration.generateDropSchemaScript(Configuration.java:587)
at org.hibernate.tool.hbm2ddl.SchemaExport.(SchemaExport.java:64)
at org.hibernate.tool.hbm2ddl.SchemaExportTask.getSchemaExport(SchemaExportTask.java:210)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.