java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

cayenne-user | D Tim Cummings | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Re: How to use cayenne-migrations

    cayenne-user | 3 years ago | D Tim Cummings
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
  2. 0

    Re: How to use cayenne-migrations

    cayenne-user | 3 years ago | D Tim Cummings
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/apache/commons/logging/LogFactory

      at org.apache.cayenne.configuration.server.DataDomainProvider.<clinit>()
    2. org.apache.cayenne
      DataDomainProvider.<clinit>
      1. org.apache.cayenne.configuration.server.DataDomainProvider.<clinit>(DataDomainProvider.java:62)
      1 frame
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      4 frames
    4. org.apache.cayenne
      MigrationGenerator.main
      1. org.apache.cayenne.di.spi.ConstructorInjectingProvider.get(ConstructorInjectingProvider.java:164)
      2. org.apache.cayenne.di.spi.FieldInjectingProvider.get(FieldInjectingProvider.java:42)
      3. org.apache.cayenne.di.spi.CustomProvidersProvider.get(CustomProvidersProvider.java:38)
      4. org.apache.cayenne.di.spi.FieldInjectingProvider.get(FieldInjectingProvider.java:42)
      5. org.apache.cayenne.di.spi.DefaultScopeProvider.get(DefaultScopeProvider.java:49)
      6. org.apache.cayenne.di.spi.DefaultInjector.getInstance(DefaultInjector.java:103)
      7. org.apache.cayenne.configuration.server.ServerRuntime.getDataDomain(ServerRuntime.java:92)
      8. org.apache.cayenne.migration.MigrationGenerator.generateInitialMigration(MigrationGenerator.java:75)
      9. org.apache.cayenne.migration.MigrationGenerator.main(MigrationGenerator.java:58)
      9 frames