java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils

Atlassian JIRA | Amanda Anganes | 4 years ago
  1. 0

    If I go to a clean directory and run atlas-create-crowd-plugin, fill in the required options, and without making any changes run atlas-run, I see the following stack trace: [INFO] [talledLocalContainer] 2013-03-05 13:51:59,200 main ERROR [osgi.container.felix.FelixOsgiContainerManager] EventDispatcher: Error during dispatch. [INFO] [talledLocalContainer] java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils [INFO] [talledLocalContainer] at com.atlassian.plugins.osgi.test.asm.BundleTestScanner.processUrl(BundleTestScanner.java:53) [INFO] [talledLocalContainer] at com.atlassian.plugins.osgi.test.asm.BundleTestScanner.scan(BundleTestScanner.java:32) [INFO] [talledLocalContainer] at com.atlassian.plugins.osgi.test.BundleTestClassesManager.registerBundle(BundleTestClassesManager.java:49) [INFO] [talledLocalContainer] at com.atlassian.plugins.osgi.test.BundleTestClassesActivator.addBundle(BundleTestClassesActivator.java:94) [INFO] [talledLocalContainer] at com.atlassian.plugins.osgi.test.BundleTestClassesActivator.access$000(BundleTestClassesActivator.java:8) [INFO] [talledLocalContainer] at com.atlassian.plugins.osgi.test.BundleTestClassesActivator$1.bundleChanged(BundleTestClassesActivator.java:28) [INFO] [talledLocalContainer] at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:800) [INFO] [talledLocalContainer] at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:728) [INFO] [talledLocalContainer] at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3715) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix.access$600(Felix.java:80) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix$FelixResolver.markBundleResolved(Felix.java:4239) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix$FelixResolver.markResolvedModules(Felix.java:4189) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix$FelixResolver.resolve(Felix.java:3990) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3402) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix.startBundle(Felix.java:1709) [INFO] [talledLocalContainer] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905) [INFO] [talledLocalContainer] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892) [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:402) [INFO] [talledLocalContainer] at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:237) [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:114) [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:99) [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:713) [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:166) [INFO] [talledLocalContainer] at com.atlassian.crowd.plugin.CrowdPluginManager.init(CrowdPluginManager.java:69) [INFO] [talledLocalContainer] at com.atlassian.crowd.plugin.CrowdPluginManager.onApplicationStartedEvent(CrowdPluginManager.java:82) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) [INFO] [talledLocalContainer] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) [INFO] [talledLocalContainer] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28) [INFO] [talledLocalContainer] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56) [INFO] [talledLocalContainer] at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151) [INFO] [talledLocalContainer] at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70) [INFO] [talledLocalContainer] at com.atlassian.crowd.console.listener.StartupListener.contextInitialized(StartupListener.java:106) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429) [INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) [INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) [INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850) [INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724) [INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493) [INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206) [INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314) [INFO] [talledLocalContainer] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) [INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) [INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardService.start(StandardService.java:516) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Catalina.start(Catalina.java:583) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) [INFO] [talledLocalContainer] Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.IOUtils [INFO] [talledLocalContainer] at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772) [INFO] [talledLocalContainer] at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) [INFO] [talledLocalContainer] at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) [INFO] [talledLocalContainer] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [INFO] [talledLocalContainer] ... 61 more I tried running atlas-mvn eclipse:eclipse, importing the project into eclipse, and updating the POM to include the Apache commons-io package, but that did not make any difference. I am not sure whether the plugin is being installed into the Crowd dev instance despite the error - Crowd does launch and I can log into the application in a browser, but I am not sure where to look to see if a plugin is installed or not. Either way, the atlas-create method should not produce a malformed project.

    Atlassian JIRA | 4 years ago | Amanda Anganes
    java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils
  2. 0

    If I go to a clean directory and run atlas-create-crowd-plugin, fill in the required options, and without making any changes run atlas-run, I see the following stack trace: [INFO] [talledLocalContainer] 2013-03-05 13:51:59,200 main ERROR [osgi.container.felix.FelixOsgiContainerManager] EventDispatcher: Error during dispatch. [INFO] [talledLocalContainer] java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils [INFO] [talledLocalContainer] at com.atlassian.plugins.osgi.test.asm.BundleTestScanner.processUrl(BundleTestScanner.java:53) [INFO] [talledLocalContainer] at com.atlassian.plugins.osgi.test.asm.BundleTestScanner.scan(BundleTestScanner.java:32) [INFO] [talledLocalContainer] at com.atlassian.plugins.osgi.test.BundleTestClassesManager.registerBundle(BundleTestClassesManager.java:49) [INFO] [talledLocalContainer] at com.atlassian.plugins.osgi.test.BundleTestClassesActivator.addBundle(BundleTestClassesActivator.java:94) [INFO] [talledLocalContainer] at com.atlassian.plugins.osgi.test.BundleTestClassesActivator.access$000(BundleTestClassesActivator.java:8) [INFO] [talledLocalContainer] at com.atlassian.plugins.osgi.test.BundleTestClassesActivator$1.bundleChanged(BundleTestClassesActivator.java:28) [INFO] [talledLocalContainer] at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:800) [INFO] [talledLocalContainer] at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:728) [INFO] [talledLocalContainer] at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3715) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix.access$600(Felix.java:80) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix$FelixResolver.markBundleResolved(Felix.java:4239) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix$FelixResolver.markResolvedModules(Felix.java:4189) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix$FelixResolver.resolve(Felix.java:3990) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3402) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix.startBundle(Felix.java:1709) [INFO] [talledLocalContainer] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905) [INFO] [talledLocalContainer] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892) [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:402) [INFO] [talledLocalContainer] at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:237) [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:114) [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:99) [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:713) [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:166) [INFO] [talledLocalContainer] at com.atlassian.crowd.plugin.CrowdPluginManager.init(CrowdPluginManager.java:69) [INFO] [talledLocalContainer] at com.atlassian.crowd.plugin.CrowdPluginManager.onApplicationStartedEvent(CrowdPluginManager.java:82) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) [INFO] [talledLocalContainer] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) [INFO] [talledLocalContainer] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28) [INFO] [talledLocalContainer] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56) [INFO] [talledLocalContainer] at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151) [INFO] [talledLocalContainer] at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70) [INFO] [talledLocalContainer] at com.atlassian.crowd.console.listener.StartupListener.contextInitialized(StartupListener.java:106) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429) [INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) [INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) [INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850) [INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724) [INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493) [INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206) [INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314) [INFO] [talledLocalContainer] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) [INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) [INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardService.start(StandardService.java:516) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Catalina.start(Catalina.java:583) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) [INFO] [talledLocalContainer] Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.IOUtils [INFO] [talledLocalContainer] at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772) [INFO] [talledLocalContainer] at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) [INFO] [talledLocalContainer] at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) [INFO] [talledLocalContainer] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [INFO] [talledLocalContainer] ... 61 more I tried running atlas-mvn eclipse:eclipse, importing the project into eclipse, and updating the POM to include the Apache commons-io package, but that did not make any difference. I am not sure whether the plugin is being installed into the Crowd dev instance despite the error - Crowd does launch and I can log into the application in a browser, but I am not sure where to look to see if a plugin is installed or not. Either way, the atlas-create method should not produce a malformed project.

    Atlassian JIRA | 4 years ago | Amanda Anganes
    java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils
  3. 0

    Missing class when executing Jira Plugin

    Stack Overflow | 2 years ago | frankster1001
    java.lang.NoClassDefFoundError: net/htmlparser/jericho/Source
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How can I use XPath in my OSGi bundle?

    felix-users | 5 years ago | Mike Spoonauer
    java.lang.ClassNotFoundException: com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl
  6. 0

    We upgraded the jira plugin manager and your plugin at the same time. Your plugin will no longer enable. We get a spring error. 2013-03-15 11:44:21,223 Spring executor 7 ERROR [plugin.osgi.factory.OsgiPlugin] Unable to start the Spring context for plugin com.innovalog.jmwe.jira-misc-workflow-extensions org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conditionCheckerFactory' defined in URL [bundle://94.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.googlecode.jsu.helpers.ConditionCheckerFactory]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.googlecode.jsu.helpers.ConditionCheckerFactory]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877) ... 20 more Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at com.googlecode.jsu.helpers.ConditionCheckerFactory.<init>(ConditionCheckerFactory.java:59) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100) ... 22 more Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772) at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 28 more 2013-03-15 11:44:21,223 Spring executor 7 ERROR [extender.internal.activator.ContextLoaderListener] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.innovalog.jmwe.jira-misc-workflow-extensions, config=osgibundle:/META-INF/spring/*.xml)) org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conditionCheckerFactory' defined in URL [bundle://94.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.googlecode.jsu.helpers.ConditionCheckerFactory]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.googlecode.jsu.helpers.ConditionCheckerFactory]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877) ... 20 more Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at com.googlecode.jsu.helpers.ConditionCheckerFactory.<init>(ConditionCheckerFactory.java:59) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100) ... 22 more Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772) at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 28 more

    JIRA | 4 years ago | Steven Clark
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conditionCheckerFactory' defined in URL [bundle://94.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.googlecode.jsu.helpers.ConditionCheckerFactory]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

  1. poroszd 1 times, last 1 month ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.apache.commons.io.IOUtils

    at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation()
  2. Apache Felix Framework
    ModuleImpl$ModuleClassLoader.loadClass
    1. org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772)
    2. org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
    3. org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)
    3 frames
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    1 frame
  4. com.atlassian.plugins
    BundleTestClassesActivator$1.bundleChanged
    1. com.atlassian.plugins.osgi.test.asm.BundleTestScanner.processUrl(BundleTestScanner.java:53)
    2. com.atlassian.plugins.osgi.test.asm.BundleTestScanner.scan(BundleTestScanner.java:32)
    3. com.atlassian.plugins.osgi.test.BundleTestClassesManager.registerBundle(BundleTestClassesManager.java:49)
    4. com.atlassian.plugins.osgi.test.BundleTestClassesActivator.addBundle(BundleTestClassesActivator.java:94)
    5. com.atlassian.plugins.osgi.test.BundleTestClassesActivator.access$000(BundleTestClassesActivator.java:8)
    6. com.atlassian.plugins.osgi.test.BundleTestClassesActivator$1.bundleChanged(BundleTestClassesActivator.java:28)
    6 frames
  5. Apache Felix Framework
    BundleImpl.start
    1. org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:800)
    2. org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:728)
    3. org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)
    4. org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3715)
    5. org.apache.felix.framework.Felix.access$600(Felix.java:80)
    6. org.apache.felix.framework.Felix$FelixResolver.markBundleResolved(Felix.java:4239)
    7. org.apache.felix.framework.Felix$FelixResolver.markResolvedModules(Felix.java:4189)
    8. org.apache.felix.framework.Felix$FelixResolver.resolve(Felix.java:3990)
    9. org.apache.felix.framework.Felix.resolveBundle(Felix.java:3402)
    10. org.apache.felix.framework.Felix.startBundle(Felix.java:1709)
    11. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
    12. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
    12 frames
  6. com.atlassian.plugin
    DefaultPluginManager.init
    1. com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:402)
    2. com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:237)
    3. com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:114)
    4. com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:99)
    5. com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:713)
    6. com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:166)
    6 frames
  7. com.atlassian.crowd
    CrowdPluginManager.onApplicationStartedEvent
    1. com.atlassian.crowd.plugin.CrowdPluginManager.init(CrowdPluginManager.java:69)
    2. com.atlassian.crowd.plugin.CrowdPluginManager.onApplicationStartedEvent(CrowdPluginManager.java:82)
    2 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  9. com.atlassian.event
    EventPublisherImpl.publish
    1. com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)
    2. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60)
    3. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28)
    4. com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56)
    5. com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151)
    6. com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70)
    6 frames
  10. com.atlassian.crowd
    StartupListener.contextInitialized
    1. com.atlassian.crowd.console.listener.StartupListener.contextInitialized(StartupListener.java:106)
    1 frame
  11. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
    6. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850)
    7. org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724)
    8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493)
    9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
    10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
    11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    13. org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
    14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    16. org.apache.catalina.core.StandardService.start(StandardService.java:516)
    17. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    18. org.apache.catalina.startup.Catalina.start(Catalina.java:583)
    18 frames
  12. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  13. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    2 frames