org.apache.openjpa.util.MetaDataException

Type "class org.test.classdiag.jpa3.Animal" loaded by sun.misc.Launcher$AppClassLoader@54f690e4 does not have persistence metadata.

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 web6

  • via Unknown by lostvicking,
  • via Stack Overflow by user60786
    ,
  • via Unknown by Phani Madgula,
  • Stack trace

    • org.apache.openjpa.util.MetaDataException: Type "class org.test.classdiag.jpa3.Animal" loaded by sun.misc.Launcher$AppClassLoader@54f690e4 does not have persistence metadata. at org.apache.openjpa.jdbc.meta.MappingTool.getMapping(MappingTool.java:688) at org.apache.openjpa.jdbc.meta.MappingTool.buildSchema(MappingTool.java:754) at org.apache.openjpa.jdbc.meta.MappingTool.run(MappingTool.java:652) at org.apache.openjpa.jdbc.meta.MappingTool.run(MappingTool.java:1087) at org.apache.openjpa.jdbc.meta.MappingTool.run(MappingTool.java:1001) at org.apache.openjpa.jdbc.meta.MappingTool$1.run(MappingTool.java:937) at org.apache.openjpa.lib.conf.Configurations.launchRunnable(Configurations.java:748) at org.apache.openjpa.lib.conf.Configurations.runAgainstAllAnchors(Configurations.java:738) at org.apache.openjpa.jdbc.meta.MappingTool.main(MappingTool.java:932)

    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

    We couldn't find other users who have seen this exception.