Error Creating Bean Nested Exception Is Java.lang.noclassdeffounderror
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/core/io/Resource - using spring-core.4_2_5 up vote 0 down vote favorite I'm trying to deploy my REST service using Tomcat 6 and getting the above mentioned error while trying to start tomcat. This app runs fine in Jetty. All research has pointed to a missing spring-core jar file in my WAR file, but it is already there as far as I can tell. Any ideas what could be missing/no configured correctly? We are using Java 7. Here is a bit more of my console output. Please let me know if I can provide any other info to help figure out the problem. 15:52:31.713 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'cxf.config0' 15:52:31.713 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'loggingInInterceptor' 15:52:31.713 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'loggingOutInterceptor' 15:52:31.713 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'dynamicPropertyUtil' 15:52:31.713 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'dynamicPropertyUtil' 15:52:31.714 [main] WARN o.s.w.c.s.XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dynamicPropertyUtil' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/s
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of http://stackoverflow.com/questions/37149390/instantiation-of-bean-failed-nested-exception-is-java-lang-noclassdeffounderror this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask http://stackoverflow.com/questions/16458816/spring-nested-exception-is-java-lang-noclassdeffounderror-org-aopalliance-aop-a Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up spring nested exception is java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice up vote 9 down vote favorite 2 i tried hard to get rid of this error, but it doesnt want to leave me. here is the config xml
posts / 0 new Log in or register to post comments Last post Wed, 01/08/2014 - 10:39 #1 madhunatarajan Offline Last seen: 2 years 9 months ago Joined: 01/08/2014 - 08:02 Posts: 5 java.lang.NoClassDefFoundError: org.activiti.spring.SpringProcessEngineConfiguration I am trying to run the activity in websphere, which is working in jboss. When I tried to deploy in websphere, I get the following error, Caused by: org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [beanFactory]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'beanFactory' defined in URL [wsjar:file:/D:/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/MohanPW764Node01Cell/eCAMS.ear/ecams.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.FileSystemXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineConfiguration' defined in class path resource [springActivitiContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org.activiti.spring.SpringProcessEngineConfiguration (initialization failure) at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:386) I tried adding the jar files in the D:\IBM\Websphere\lib\, activation 1.1 jar, mybatis-3.1.1.jar, activiti-spring-5.12.1.jar, activiti-engine-5.12.1.jar and also have added these files in the web-inf-lib file. I am having an urgent requirement to finish this. Can anybody please guide me?. Thanks Top Log in or register to post comments Wed, 01/08/2014 - 10:41 #2 madhunatarajan Offline Last seen: 2 years 9 months ago Joined: 01/08/2014 - 08:02 Posts: 5 I am new to this. So, let me know if anybody has some suggestion Top Log in or register to post comments Wed, 01/08/2014 - 11:19 #3 trademak Offline Last seen: 1 week 8 hours ago Joined: 08/20/2010 - 21:12 Posts: 3438 Please ask a question only once and this question should actually be posted on the user forum. The exception says it all, it's not able to find the