java.lang.NoClassDefFoundError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Following instructions from http://confluence.atlassian.com/display/CROWD/3.2.2+Integrating+Crowd+with+Atlassian+Bamboo cp ${crowd_home}/client/*.jar ${bamboo_home}/webapp/WEB-INF/lib/ cp ${crowd_home}/client/lib/* ${bamboo_home}/webapp/WEB-INF/lib/ 2007-04-16 13:57:06,545 WARN [main] [CglibSubclassingInstantiationStrategy] Factory method [public com.atlassian.user.configuration.DelegationAccessor com.atlassian.user.configuration.xml.XMLConfiguration.getDelegationAccessor()] threw exception java.lang.NoClassDefFoundError: com/atlassian/user/security/authentication/InvalidPasswordException atlassian-user-2007-02-20.jar included with bamboo does not contain com.atlassian.user.security.authentication.InvalidPasswordException ------------ FIX: replace atlassian-user-2007-02-20.jar in Bamboo with atlassian-user-2007-04-05.jar from Crowd ------------ 2007-04-16 13:57:06,545 WARN [main] [CglibSubclassingInstantiationStrategy] Factory method [public com.atlassian.user.configuration.DelegationAccessor com.atlassian.user.configuration.xml.XMLConfiguration.getDelegationAccessor()] threw exception java.lang.NoClassDefFoundError: com/atlassian/user/security/authentication/InvalidPasswordException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) at java.lang.Class.getConstructor0(Class.java:2671) at java.lang.Class.newInstance0(Class.java:321) at java.lang.Class.newInstance(Class.java:303) at com.atlassian.user.configuration.AbstractRepositoryProcessor.instantiateComponent(AbstractRepositoryProcessor.java:123) at com.atlassian.user.configuration.AbstractRepositoryProcessor.configureUserManager(AbstractRepositoryProcessor.java:159) at com.atlassian.user.configuration.AbstractRepositoryProcessor.process(AbstractRepositoryProcessor.java:50) at com.atlassian.crowd.integration.atlassianuser.CrowdRepositoryProcessor.init(CrowdRepositoryProcessor.java:14) at com.atlassian.user.configuration.DefaultRepositoryConfiguration.configure(DefaultRepositoryConfiguration.java:52) at com.atlassian.user.configuration.xml.XMLConfiguration.configureRepository(XMLConfiguration.java:107) at com.atlassian.bamboo.user.BambooUserConfiguration.configureRepository(BambooUserConfiguration.java:48) at com.atlassian.user.configuration.xml.XMLConfiguration.configureRepositories(XMLConfiguration.java:100) at com.atlassian.user.configuration.xml.XMLConfiguration.init(XMLConfiguration.java:83) at com.atlassian.user.configuration.xml.XMLConfiguration.getDelegationAccessor(XMLConfiguration.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:109) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:606) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:354) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:283) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:252) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:190) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) at com.atlassian.spring.container.ContainerContextLoaderListener.contextInitialized(ContainerContextLoaderListener.java:32) at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:497) at org.mortbay.jetty.plus.PlusWebAppContext.doStart(PlusWebAppContext.java:149) at org.mortbay.util.Container.start(Container.java:72) at org.mortbay.http.HttpServer.doStart(HttpServer.java:753) at org.mortbay.jetty.plus.Server.doStart(Server.java:153) at org.mortbay.util.Container.start(Container.java:72) at com.atlassian.bamboo.server.Server.main(Server.java:58)
    via by Don Coleman,
  • Following instructions from http://confluence.atlassian.com/display/CROWD/3.2.2+Integrating+Crowd+with+Atlassian+Bamboo cp ${crowd_home}/client/*.jar ${bamboo_home}/webapp/WEB-INF/lib/ cp ${crowd_home}/client/lib/* ${bamboo_home}/webapp/WEB-INF/lib/ 2007-04-16 13:57:06,545 WARN [main] [CglibSubclassingInstantiationStrategy] Factory method [public com.atlassian.user.configuration.DelegationAccessor com.atlassian.user.configuration.xml.XMLConfiguration.getDelegationAccessor()] threw exception java.lang.NoClassDefFoundError: com/atlassian/user/security/authentication/InvalidPasswordException atlassian-user-2007-02-20.jar included with bamboo does not contain com.atlassian.user.security.authentication.InvalidPasswordException ------------ FIX: replace atlassian-user-2007-02-20.jar in Bamboo with atlassian-user-2007-04-05.jar from Crowd ------------ 2007-04-16 13:57:06,545 WARN [main] [CglibSubclassingInstantiationStrategy] Factory method [public com.atlassian.user.configuration.DelegationAccessor com.atlassian.user.configuration.xml.XMLConfiguration.getDelegationAccessor()] threw exception java.lang.NoClassDefFoundError: com/atlassian/user/security/authentication/InvalidPasswordException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) at java.lang.Class.getConstructor0(Class.java:2671) at java.lang.Class.newInstance0(Class.java:321) at java.lang.Class.newInstance(Class.java:303) at com.atlassian.user.configuration.AbstractRepositoryProcessor.instantiateComponent(AbstractRepositoryProcessor.java:123) at com.atlassian.user.configuration.AbstractRepositoryProcessor.configureUserManager(AbstractRepositoryProcessor.java:159) at com.atlassian.user.configuration.AbstractRepositoryProcessor.process(AbstractRepositoryProcessor.java:50) at com.atlassian.crowd.integration.atlassianuser.CrowdRepositoryProcessor.init(CrowdRepositoryProcessor.java:14) at com.atlassian.user.configuration.DefaultRepositoryConfiguration.configure(DefaultRepositoryConfiguration.java:52) at com.atlassian.user.configuration.xml.XMLConfiguration.configureRepository(XMLConfiguration.java:107) at com.atlassian.bamboo.user.BambooUserConfiguration.configureRepository(BambooUserConfiguration.java:48) at com.atlassian.user.configuration.xml.XMLConfiguration.configureRepositories(XMLConfiguration.java:100) at com.atlassian.user.configuration.xml.XMLConfiguration.init(XMLConfiguration.java:83) at com.atlassian.user.configuration.xml.XMLConfiguration.getDelegationAccessor(XMLConfiguration.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:109) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:606) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:354) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:283) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:252) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:190) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) at com.atlassian.spring.container.ContainerContextLoaderListener.contextInitialized(ContainerContextLoaderListener.java:32) at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:497) at org.mortbay.jetty.plus.PlusWebAppContext.doStart(PlusWebAppContext.java:149) at org.mortbay.util.Container.start(Container.java:72) at org.mortbay.http.HttpServer.doStart(HttpServer.java:753) at org.mortbay.jetty.plus.Server.doStart(Server.java:153) at org.mortbay.util.Container.start(Container.java:72) at com.atlassian.bamboo.server.Server.main(Server.java:58)
    via by Don Coleman,
  • Problem while running MotorpriseJSP
    via by Narasimha,
    • java.lang.NoClassDefFoundError: com/atlassian/user/security/authentication/InvalidPasswordException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) at java.lang.Class.getConstructor0(Class.java:2671) at java.lang.Class.newInstance0(Class.java:321) at java.lang.Class.newInstance(Class.java:303) at com.atlassian.user.configuration.AbstractRepositoryProcessor.instantiateComponent(AbstractRepositoryProcessor.java:123) at com.atlassian.user.configuration.AbstractRepositoryProcessor.configureUserManager(AbstractRepositoryProcessor.java:159) at com.atlassian.user.configuration.AbstractRepositoryProcessor.process(AbstractRepositoryProcessor.java:50) at com.atlassian.crowd.integration.atlassianuser.CrowdRepositoryProcessor.init(CrowdRepositoryProcessor.java:14) at com.atlassian.user.configuration.DefaultRepositoryConfiguration.configure(DefaultRepositoryConfiguration.java:52) at com.atlassian.user.configuration.xml.XMLConfiguration.configureRepository(XMLConfiguration.java:107) at com.atlassian.bamboo.user.BambooUserConfiguration.configureRepository(BambooUserConfiguration.java:48) at com.atlassian.user.configuration.xml.XMLConfiguration.configureRepositories(XMLConfiguration.java:100) at com.atlassian.user.configuration.xml.XMLConfiguration.init(XMLConfiguration.java:83) at com.atlassian.user.configuration.xml.XMLConfiguration.getDelegationAccessor(XMLConfiguration.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:109) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:606) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:354) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:283) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:252) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:190) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) at com.atlassian.spring.container.ContainerContextLoaderListener.contextInitialized(ContainerContextLoaderListener.java:32) at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:497) at org.mortbay.jetty.plus.PlusWebAppContext.doStart(PlusWebAppContext.java:149) at org.mortbay.util.Container.start(Container.java:72) at org.mortbay.http.HttpServer.doStart(HttpServer.java:753) at org.mortbay.jetty.plus.Server.doStart(Server.java:153) at org.mortbay.util.Container.start(Container.java:72) at com.atlassian.bamboo.server.Server.main(Server.java:58)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    49 more bugmates