com.impetus.kundera.configure.schema.SchemaGenerationException: Persistence unit for class : int is not loaded

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

    Persistence unit for class issue

    Stack Overflow | 3 years ago | Abhijith Nagaraja
    com.impetus.kundera.configure.schema.SchemaGenerationException: Persistence unit for class : int is not loaded

    1 unregistered visitors

    Root Cause Analysis

    1. com.impetus.kundera.configure.schema.SchemaGenerationException

      Persistence unit for class : int is not loaded

      at com.impetus.kundera.configure.SchemaConfiguration.parseRelations()
    2. Kundera
      KunderaPersistence.createEntityManagerFactory
      1. com.impetus.kundera.configure.SchemaConfiguration.parseRelations(SchemaConfiguration.java:262)
      2. com.impetus.kundera.configure.SchemaConfiguration.configure(SchemaConfiguration.java:151)
      3. com.impetus.kundera.configure.ClientMetadataBuilder.buildClientFactoryMetadata(ClientMetadataBuilder.java:48)
      4. com.impetus.kundera.persistence.EntityManagerFactoryImpl.configureClientFactories(EntityManagerFactoryImpl.java:404)
      5. com.impetus.kundera.persistence.EntityManagerFactoryImpl.configure(EntityManagerFactoryImpl.java:157)
      6. com.impetus.kundera.persistence.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:131)
      7. com.impetus.kundera.KunderaPersistence.createEntityManagerFactory(KunderaPersistence.java:85)
      7 frames
    3. JavaEE 7
      Persistence.createEntityManagerFactory
      1. javax.persistence.Persistence.createEntityManagerFactory(Unknown Source)
      2. javax.persistence.Persistence.createEntityManagerFactory(Unknown Source)
      2 frames
    4. com.atomconnect
      App.main
      1. com.atomconnect.App.insertIntoMongo(App.java:37)
      2. com.atomconnect.App.main(App.java:53)
      2 frames