org.apache.commons.logging.LogConfigurationException

org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils (Caused by java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils (Caused by java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils))

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 web8

  • via Unknown by Kyle S. Bober,
  • Stack trace

    • org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils (Caused by java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils (Caused by java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils)) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.<init>(DefaultSingletonBeanRegistry.java:83) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.<init>(FactoryBeanRegistrySupport.java:40) at org.springframework.beans.factory.support.AbstractBeanFactory.<init>(AbstractBeanFactory.java:146) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.<init>(AbstractAutowireCapableBeanFactory.java:140) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.<init>(AbstractAutowireCapableBeanFactory.java:151) at org.springframework.beans.factory.support.DefaultListableBeanFactory.<init>(DefaultListableBeanFactory.java:115) at org.springframework.context.support.AbstractRefreshableApplicationContext.createBeanFactory(AbstractRefreshableApplicationContext.java:150) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:95) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:411) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:190) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:212) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:163) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:124) at org.springframework.osgi.extender.internal.ContextLoaderListener$2.run(ContextLoaderListener.java:630) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils (Caused by java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) ... 18 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils at org.springframework.osgi.util.DebugUtils.debugClassLoading(DebugUtils.java:124) at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:124) at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:178) at java.lang.ClassLoader.loadClass(Unknown Source) at org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:441) at java.security.AccessController.doPrivileged(Native Method) at org.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java:435) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:376) ... 19 more

    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.