org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationController' defined in URL [bundle://66.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.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/opensymphony/user/EntityNotFoundException

Apereo Issues | YONG Zheng Yu | 5 years ago
  1. 0

    I am in the process of testing JIRA v5.0.1 in a staging environment which will eventually see us upgrading our production JIRA from version 4.4. For our SSO purposes we are actually running Jasig CAS server and thus we are using the CAS client integration for JIRA as provided. I have hit a snag in testing largely due to the fact that JIRA cannot start up. I have the stacktrace attached below: I have downloaded the latest source from Github and built it, but the same thing occurs. I suspect it is a class loading issue, but since I am not familiar with OSGI, etc, would appreciate some assistance in getting this to work again. Best regards ------------------------------------------------------- 2012-03-21 14:11:56,133 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/jira-rest-plugin-5.0.1.jar (1331825138000) created 2012-03-21 14:11:56,144 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/jira-sal-plugin-5.0.1.jar (1331825152000) created 2012-03-21 14:11:56,157 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/jira-share-plugin-5.0.1.jar (1331825206000) created 2012-03-21 14:11:56,164 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/jira-soy-plugin-5.0.1.jar (1331825160000) created 2012-03-21 14:11:56,210 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/jira-view-issue-plugin-5.0.1.jar (1331825162000) created 2012-03-21 14:11:56,229 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/jira-welcome-plugin-1.1.6.jar (1331824330000) created 2012-03-21 14:11:56,240 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/json-20070829-1.jar (1331824330000) created 2012-03-21 14:11:56,248 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/nekohtml-1.9.12-1.jar (1331824330000) created 2012-03-21 14:11:56,257 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/rome-1.0.jar (1331824330000) created 2012-03-21 14:11:56,268 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/soy-template-plugin-1.0.0-m3.jar (1331824182000) created 2012-03-21 14:11:56,286 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/stp-2.9.5.jar (1331824330000) created 2012-03-21 14:11:56,636 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/streams-aggregator-plugin-5.1.0.jar (1331824332000) created 2012-03-21 14:11:56,649 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/streams-api-5.1.0.jar (1331824330000) created 2012-03-21 14:11:56,654 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/streams-core-plugin-5.1.0.jar (1331824332000) created 2012-03-21 14:11:56,661 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/streams-inline-actions-plugin-5.1.0.jar (1331824332000) created 2012-03-21 14:11:56,665 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/streams-jira-inline-actions-plugin-5.1.0.jar (1331824332000) created 2012-03-21 14:11:56,866 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/streams-jira-plugin-5.1.0.jar (1331824330000) created 2012-03-21 14:11:56,875 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/streams-spi-5.1.0.jar (1331824332000) created 2012-03-21 14:11:56,883 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/streams-thirdparty-plugin-5.1.0.jar (1331824332000) created 2012-03-21 14:11:56,899 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/workflow-designer-plugin-2.5.4.jar (1331824330000) created 2012-03-21 14:12:05,355 Spring executor 6 ERROR [plugin.osgi.factory.OsgiPlugin] Unable to start the Spring context for plugin com.atlassian.sal.jira org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationController' defined in URL [bundle://66.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.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/opensymphony/user/EntityNotFoundException 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.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/opensymphony/user/EntityNotFoundException 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: com/opensymphony/user/EntityNotFoundException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at com.opensymphony.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:99) at com.atlassian.seraph.config.SecurityConfigImpl.configureClass(SecurityConfigImpl.java:277) at com.atlassian.seraph.config.SecurityConfigImpl.configureAuthenticator(SecurityConfigImpl.java:215) at com.atlassian.seraph.config.SecurityConfigImpl.<init>(SecurityConfigImpl.java:159) at com.atlassian.seraph.config.SecurityConfigFactory.loadInstance(SecurityConfigFactory.java:56) at com.atlassian.seraph.config.SecurityConfigFactory.getInstance(SecurityConfigFactory.java:21) at com.atlassian.sal.core.auth.SeraphAuthenticationController.<init>(SeraphAuthenticationController.java:25) 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: com.opensymphony.user.EntityNotFoundException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) ... 36 more 2012-03-21 14:12:05,362 Spring executor 6 ERROR [extender.internal.activator.ContextLoaderListener] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.sal.jira, config=osgibundle:/META-INF/spring/*.xml)) org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationController' defined in URL [bundle://66.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.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/opensymphony/user/EntityNotFoundException 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.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/opensymphony/user/EntityNotFoundException 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: com/opensymphony/user/EntityNotFoundException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at com.opensymphony.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:99) at com.atlassian.seraph.config.SecurityConfigImpl.configureClass(SecurityConfigImpl.java:277) at com.atlassian.seraph.config.SecurityConfigImpl.configureAuthenticator(SecurityConfigImpl.java:215) at com.atlassian.seraph.config.SecurityConfigImpl.<init>(SecurityConfigImpl.java:159) at com.atlassian.seraph.config.SecurityConfigFactory.loadInstance(SecurityConfigFactory.java:56) at com.atlassian.seraph.config.SecurityConfigFactory.getInstance(SecurityConfigFactory.java:21) at com.atlassian.sal.core.auth.SeraphAuthenticationController.<init>(SeraphAuthenticationController.java:25) 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: com.opensymphony.user.EntityNotFoundException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) ... 36 more

    Apereo Issues | 5 years ago | YONG Zheng Yu
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationController' defined in URL [bundle://66.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.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/opensymphony/user/EntityNotFoundException
  2. 0

    I am in the process of testing JIRA v5.0.1 in a staging environment which will eventually see us upgrading our production JIRA from version 4.4. For our SSO purposes we are actually running Jasig CAS server and thus we are using the CAS client integration for JIRA as provided. I have hit a snag in testing largely due to the fact that JIRA cannot start up. I have the stacktrace attached below: I have downloaded the latest source from Github and built it, but the same thing occurs. I suspect it is a class loading issue, but since I am not familiar with OSGI, etc, would appreciate some assistance in getting this to work again. Best regards ------------------------------------------------------- 2012-03-21 14:11:56,133 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/jira-rest-plugin-5.0.1.jar (1331825138000) created 2012-03-21 14:11:56,144 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/jira-sal-plugin-5.0.1.jar (1331825152000) created 2012-03-21 14:11:56,157 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/jira-share-plugin-5.0.1.jar (1331825206000) created 2012-03-21 14:11:56,164 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/jira-soy-plugin-5.0.1.jar (1331825160000) created 2012-03-21 14:11:56,210 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/jira-view-issue-plugin-5.0.1.jar (1331825162000) created 2012-03-21 14:11:56,229 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/jira-welcome-plugin-1.1.6.jar (1331824330000) created 2012-03-21 14:11:56,240 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/json-20070829-1.jar (1331824330000) created 2012-03-21 14:11:56,248 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/nekohtml-1.9.12-1.jar (1331824330000) created 2012-03-21 14:11:56,257 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/rome-1.0.jar (1331824330000) created 2012-03-21 14:11:56,268 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/soy-template-plugin-1.0.0-m3.jar (1331824182000) created 2012-03-21 14:11:56,286 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/stp-2.9.5.jar (1331824330000) created 2012-03-21 14:11:56,636 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/streams-aggregator-plugin-5.1.0.jar (1331824332000) created 2012-03-21 14:11:56,649 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/streams-api-5.1.0.jar (1331824330000) created 2012-03-21 14:11:56,654 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/streams-core-plugin-5.1.0.jar (1331824332000) created 2012-03-21 14:11:56,661 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/streams-inline-actions-plugin-5.1.0.jar (1331824332000) created 2012-03-21 14:11:56,665 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/streams-jira-inline-actions-plugin-5.1.0.jar (1331824332000) created 2012-03-21 14:11:56,866 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/streams-jira-plugin-5.1.0.jar (1331824330000) created 2012-03-21 14:11:56,875 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/streams-spi-5.1.0.jar (1331824332000) created 2012-03-21 14:11:56,883 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/streams-thirdparty-plugin-5.1.0.jar (1331824332000) created 2012-03-21 14:11:56,899 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /home/jira/prod/plugins/.bundled-plugins/workflow-designer-plugin-2.5.4.jar (1331824330000) created 2012-03-21 14:12:05,355 Spring executor 6 ERROR [plugin.osgi.factory.OsgiPlugin] Unable to start the Spring context for plugin com.atlassian.sal.jira org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationController' defined in URL [bundle://66.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.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/opensymphony/user/EntityNotFoundException 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.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/opensymphony/user/EntityNotFoundException 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: com/opensymphony/user/EntityNotFoundException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at com.opensymphony.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:99) at com.atlassian.seraph.config.SecurityConfigImpl.configureClass(SecurityConfigImpl.java:277) at com.atlassian.seraph.config.SecurityConfigImpl.configureAuthenticator(SecurityConfigImpl.java:215) at com.atlassian.seraph.config.SecurityConfigImpl.<init>(SecurityConfigImpl.java:159) at com.atlassian.seraph.config.SecurityConfigFactory.loadInstance(SecurityConfigFactory.java:56) at com.atlassian.seraph.config.SecurityConfigFactory.getInstance(SecurityConfigFactory.java:21) at com.atlassian.sal.core.auth.SeraphAuthenticationController.<init>(SeraphAuthenticationController.java:25) 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: com.opensymphony.user.EntityNotFoundException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) ... 36 more 2012-03-21 14:12:05,362 Spring executor 6 ERROR [extender.internal.activator.ContextLoaderListener] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.sal.jira, config=osgibundle:/META-INF/spring/*.xml)) org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationController' defined in URL [bundle://66.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.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/opensymphony/user/EntityNotFoundException 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.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/opensymphony/user/EntityNotFoundException 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: com/opensymphony/user/EntityNotFoundException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at com.opensymphony.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:99) at com.atlassian.seraph.config.SecurityConfigImpl.configureClass(SecurityConfigImpl.java:277) at com.atlassian.seraph.config.SecurityConfigImpl.configureAuthenticator(SecurityConfigImpl.java:215) at com.atlassian.seraph.config.SecurityConfigImpl.<init>(SecurityConfigImpl.java:159) at com.atlassian.seraph.config.SecurityConfigFactory.loadInstance(SecurityConfigFactory.java:56) at com.atlassian.seraph.config.SecurityConfigFactory.getInstance(SecurityConfigFactory.java:21) at com.atlassian.sal.core.auth.SeraphAuthenticationController.<init>(SeraphAuthenticationController.java:25) 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: com.opensymphony.user.EntityNotFoundException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) ... 36 more

    Apereo Issues | 5 years ago | YONG Zheng Yu
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationController' defined in URL [bundle://66.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.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/opensymphony/user/EntityNotFoundException
  3. 0

    Problem using Firebird database - Spring Forum

    spring.io | 1 year ago
    org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.firebirdsql.jdbc.FBDriver'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    migrate tomcat 6 to 7; JSF; java.lang.NoClassDefFoundError: com/sun/enterprise/InjectionException - Code - Helps For Coder

    helpsforcoder.com | 1 year ago
    java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sun/enterprise/InjectionException
  6. 0

    Selenium in a web service - jar not loaded

    Stack Overflow | 4 years ago | ManahManah
    java.lang.NoClassDefFoundError: org/openqa/selenium/WebDriver
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

    com.opensymphony.user.EntityNotFoundException

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
    2 frames
  3. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:169)
    2 frames
  4. com.opensymphony.util
    ClassLoaderUtil.loadClass
    1. com.opensymphony.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:99)
    1 frame
  5. com.atlassian.seraph
    SecurityConfigFactory.getInstance
    1. com.atlassian.seraph.config.SecurityConfigImpl.configureClass(SecurityConfigImpl.java:277)
    2. com.atlassian.seraph.config.SecurityConfigImpl.configureAuthenticator(SecurityConfigImpl.java:215)
    3. com.atlassian.seraph.config.SecurityConfigImpl.<init>(SecurityConfigImpl.java:159)
    4. com.atlassian.seraph.config.SecurityConfigFactory.loadInstance(SecurityConfigFactory.java:56)
    5. com.atlassian.seraph.config.SecurityConfigFactory.getInstance(SecurityConfigFactory.java:21)
    5 frames
  6. com.atlassian.sal
    SeraphAuthenticationController.<init>
    1. com.atlassian.sal.core.auth.SeraphAuthenticationController.<init>(SeraphAuthenticationController.java:25)
    1 frame
  7. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    4 frames
  8. Spring Beans
    AbstractAutowireCapableBeanFactory$1.run
    1. org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    2. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    6 frames
  9. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  10. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    7. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    7 frames
  11. Spring Context
    AbstractApplicationContext.finishBeanFactoryInitialization
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    1 frame
  12. Spring OSGi Core
    AbstractDelegatedExecutionApplicationContext.completeRefresh
    1. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)
    2. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)
    3. org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
    4. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
    4 frames
  13. org.springframework.osgi
    DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run
    1. org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)
    1 frame
  14. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    3. java.lang.Thread.run(Thread.java:662)
    3 frames