javax.jdo.JDOFatalUserException: Type "class tutorial ..Rabbit" does not have JDO metadata.

Oracle Community | 3004 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    successful  tutorial project under eclipse IDE  can not run in cmd line

    Oracle Community | 1 decade ago | 3004
    javax.jdo.JDOFatalUserException: Type "class tutorial ..Rabbit" does not have JDO metadata.
  2. 0

    Operation attempted on non-PersistenceCapable type

    Oracle Community | 1 decade ago | 3004
    javax.jdo.JDOFatalUserException: The system could not initialize; the following registered persistent types are missing metadata or have not been enhanced: [class com.algorithmics.oprisk.bean.orgunit.OrgUnit].

    Root Cause Analysis

    1. javax.jdo.JDOFatalUserException

      Type "class tutorial ..Rabbit" does not have JDO metadata.

      at com.solarmetric.kodo.impl.jdbc.ormapping.Mapping.createMappings()
    2. com.solarmetric.kodo
      PersistenceManagerFactoryImpl.getPersistenceManager
      1. com.solarmetric.kodo.impl.jdbc.ormapping.Mapping.createMappings(Mapping.java:108)
      2. com.solarmetric.kodo.impl.jdbc.ormapping.Mapping.createMappings(Mapping.java:85)
      3. com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.createMappings(SchemaTool.java:802)
      4. com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.refresh(SchemaTool.java:333)
      5. com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.synchronizeSchema(JDBCPersistenceManagerFactory.java:600)
      6. com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.registerClassInternal(JDBCPersistenceManagerFactory.java:501)
      7. com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.flushDeferredRegistrations(JDBCPersistenceManagerFactory.java:553)
      8. com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.configurePersistenceManager(JDBCPersistenceManagerFactory.java:746)
      9. com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.newPersistenceManager(PersistenceManagerFactoryImpl.java:469)
      10. com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:90)
      11. com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:66)
      11 frames
    3. tutorial
      SeedDatabase.main
      1. tutorial.JDOFactory.getPersistenceManager(JDOFactory.java:53)
      2. tutorial.SeedDatabase.main(SeedDatabase.java:35)
      2 frames