org.springframework.beans.factory.BeanCreationException

Error creating bean with name 'com.atlassian.bamboo.jenkins.importer.action.uploadFile.UploadFile': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/opensymphony/webwork/dispatcher/multipart/MultiPartRequestWrapper

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19427

  • via Atlassian JIRA by James Dumay [Atlassian], 1 year ago
    Error creating bean with name 'com.atlassian.bamboo.jenkins.importer.action.uploadFile.UploadFile': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/opensymphony/webwork/dispatcher/multipart/MultiPartRequestWrapper
  • via Atlassian JIRA by James Dumay [Atlassian], 11 months ago
    Error creating bean with name 'com.atlassian.bamboo.jenkins.importer.action.uploadFile.UploadFile': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/opensymphony/webwork/dispatcher/multipart/MultiPartRequestWrapper
  • Error creating bean with name '(inner bean)#4': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/sun/saw/Workflow
  • Stack trace

    • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.jenkins.importer.action.uploadFile.UploadFile': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/opensymphony/webwork/dispatcher/multipart/MultiPartRequestWrapper at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480) 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.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:300) at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at com.atlassian.plugin.osgi.spring.DefaultSpringContainerAccessor.createBean(DefaultSpringContainerAccessor.java:109) at com.atlassian.bamboo.plugin.xwork.PluginAwareObjectFactory.autowireIfContainerManagerPlugin(PluginAwareObjectFactory.java:75) at com.atlassian.bamboo.plugin.xwork.PluginAwareObjectFactory.buildAction(PluginAwareObjectFactory.java:48) at com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy.buildAction(SpringObjectFactoryProxy.java:110) at com.atlassian.bamboo.plugin.xwork.XWorkModuleDescriptor.addAction(XWorkModuleDescriptor.java:310) at com.atlassian.bamboo.plugin.xwork.XWorkModuleDescriptor.getPackages(XWorkModuleDescriptor.java:144) at com.atlassian.bamboo.plugin.xwork.XWorkModuleDescriptor.getPackages(XWorkModuleDescriptor.java:116) at com.atlassian.bamboo.plugin.xwork.XWorkModuleDescriptor.loadPackages(XWorkModuleDescriptor.java:94) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:250) at com.opensymphony.xwork2.config.ConfigurationManager.reload(ConfigurationManager.java:239) at com.atlassian.bamboo.webwork.Dispatchers.add(Dispatchers.java:35) at com.atlassian.bamboo.webwork.StrutsSupport$1.dispatcherInitialized(StrutsSupport.java:30) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:497) at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter.init(StrutsPrepareFilter.java:56) at com.atlassian.bamboo.ww2.StrutsPrepareFilter.init(StrutsPrepareFilter.java:30) at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4746) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5399) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.NoClassDefFoundError: com/opensymphony/webwork/dispatcher/multipart/MultiPartRequestWrapper at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2444) at java.lang.Class.getDeclaredMethods(Class.java:1808) at java.beans.Introspector$1.run(Introspector.java:1324) at java.security.AccessController.doPrivileged(Native Method) at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1322) at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1188) at java.beans.Introspector.getBeanInfo(Introspector.java:423) at java.beans.Introspector.getBeanInfo(Introspector.java:189) at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:220) at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144) at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252) at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptors(BeanWrapperImpl.java:259) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.unsatisfiedNonSimpleProperties(AbstractAutowireCapableBeanFactory.java:1109) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1066) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:982) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472) ... 36 more Caused by: java.lang.ClassNotFoundException: com.opensymphony.webwork.dispatcher.multipart.MultiPartRequestWrapper 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:266) ... 53 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

    Once, 8 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago