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))

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 spring.io by Unknown author, 1 year ago
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
via Spring JIRA by Kyle S. Bober, 1 year ago
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
via Spring JIRA by Kyle S. Bober, 1 year ago
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
via spring.io by Unknown author, 2 years ago
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
via Stack Overflow by Lopina
, 2 years ago
org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@78aded17 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by
via Stack Overflow by user3250328
, 6 months ago
org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@f8f541 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) (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.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java:435)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:376)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.(DefaultSingletonBeanRegistry.java:83)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.(FactoryBeanRegistrySupport.java:40)
at org.springframework.beans.factory.support.AbstractBeanFactory.(AbstractBeanFactory.java:146)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.(AbstractAutowireCapableBeanFactory.java:140)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.(AbstractAutowireCapableBeanFactory.java:151)
at org.springframework.context.support.AbstractRefreshableApplicationContext.createBeanFactory(AbstractRefreshableApplicationContext.java:150)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:95)
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.extender.internal.ContextLoaderListener$2.run(ContextLoaderListener.java:630)
at java.lang.Thread.run(Unknown Source)

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.