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

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 Stack Overflow by user60786
, 2 years ago
Type "class org.test.classdiag.jpa3.Animal" loaded by sun.misc.Launcher$AppClassLoader@54f690e4 does not have persistence metadata.
via openjpa-users by lostvicking, 1 year ago
Type "class org.test.classdiag.jpa3.Animal" loaded by sun.misc.Launcher$AppClassLoader@54f690e4 does not have persistence metadata.
via apache.org by Unknown author, 2 years ago
Type "class kodo.performance.PerfMultiA" does not have persistence metadata.
via Apache's JIRA Issue Tracker by Michael Dick, 1 year ago
Type "class kodo.performance.PerfMultiA" does not have persistence metadata.
via Apache's JIRA Issue Tracker by Michael Dick, 1 year ago
Type "class kodo.performance.PerfMultiA" does not have persistence metadata.
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

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