org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]: Unable to instantiate Action, org.egov.web.actions.dms.FileManagementAction, defined for 'fileManagement' in namespace '/dms'Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]

Spring JIRA | sreekanth | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [WW-4156] Spring DI problem on Action Intialization - ASF JIRA

    apache.org | 1 year ago
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]: Unable to instantiate Action, org.egov.web.actions.dms.FileManagementAction, defined for 'fileManagement' in namespace '/dms'Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]
  2. 0

    From 3.2.3 version i'm running in to problems where it try to load the unrelated objects as well I'm getting the following exception for this. {noformat} [31m16:23:08,045 ERROR [org.apache.struts2.dispatcher.Dispatcher] (http-localhost/127.0.0.1:8080-1) Exception occurred during processing request: Unable to instantiate Action, org.egov.web.actions.dms.FileManagementAction, defined for 'fileManagement' in namespace '/dms'Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]: Unable to instantiate Action, org.egov.web.actions.dms.FileManagementAction, defined for 'fileManagement' in namespace '/dms'Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:316) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:397) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:194) [xwork-core-2.3.15.jar:2.3.15] at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) [struts2-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) [xwork-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:553) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99) [struts2-core-2.3.15.jar:2.3.15] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93) [spring-modules-jcr-0.9patch.jar:0.9-20080306135025] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) [displaytag-1.1.jar:1.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.egov.infstr.client.filter.SetSessionVarFilter.doFilter(SetSessionVarFilter.java:108) [egov-egi.jar:] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.egov.infstr.security.spring.filter.SimpleSSOFilter.doFilter(SimpleSSOFilter.java:150) [egov-egi.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:125) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.egov.infstr.client.filter.HibSessionServletFilter.doFilter(HibSessionServletFilter.java:60) [egov-egi.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.egov.infstr.client.filter.SetThreadLocals.doFilter(SetThreadLocals.java:53) [egov-egi.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at net.sf.ehcache.constructs.web.filter.GzipFilter.doFilter(GzipFilter.java:85) [ehcache-web-2.0.3.jar:] at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86) [ehcache-web-2.0.3.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1454) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:249) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByName(AbstractAutowireCapableBeanFactory.java:1146) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1096) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:376) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at com.opensymphony.xwork2.spring.SpringObjectFactory.autoWireBean(SpringObjectFactory.java:203) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:183) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:154) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:151) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.ObjectFactory.buildAction(ObjectFactory.java:121) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:297) [xwork-core-2.3.15.jar:2.3.15] ... 75 more Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1209) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1101) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.ProxyFactoryBean.initializeAdvisorChain(ProxyFactoryBean.java:455) [spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.ProxyFactoryBean.getObject(ProxyFactoryBean.java:241) [spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] ... 88 more Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1275) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:575) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1344) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:356) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:335) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:187) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:191) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:895) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:853) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:768) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1194) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] ... 98 more Caused by: java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:196) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:444) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:432) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:374) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:119) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.springframework.util.ClassUtils.forName(ClassUtils.java:260) [spring-core-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:416) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1296) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1267) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] ... 108 more {noformat} When i try to inject fileService it also try to load some other object which is not at all related to fileService (or any dependency services) *Here i know the bean definitionsetting for MethodSecurityInterceptor is WRONG* but if you see the error log its showing CNFException for some other classes which exist in some other applicationContext which is lazy-loaded and have no referenced to MethodSecurityInterceptor or any other beans. {noformat} <bean id="fileService" class="org.springframework.aop.framework.ProxyFactoryBean"> <property name="target" ref="fileServiceTarget" /> <property name="interceptorNames"> <list> <value>aclMethodSecurityInterceptor</value> </list> </property> <property name="proxyTargetClass" value="true"/> </bean> <bean id="fileServiceTarget" parent="persistenceService" autowire-candidate="true" autowire="byName" class="org.egov.dms.services.FileService" > <property name="type" value="org.egov.dms.models.GenericFile" /> </bean> <bean id="aclObjectReadVoter" name="aclObjectReadVoter" class="org.egov.dms.acl.DocumentAclVoter" scope="prototype"> <constructor-arg ref="persistenceService"/> <constructor-arg value="ACL_OBJECT_READ"/> <constructor-arg> <list> <ref bean="readPermission"/> </list> </constructor-arg> <property name="eisService" ref="eisService"/> <property name="rbacManager" ref="rbacMgr"/> </bean> <bean id="aclMethodSecurityInterceptor" name="aclMethodSecurityInterceptor" class="org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor"> <property name="accessDecisionManager" ref="businessAccessDecisionManager"/> <property name="afterInvocationManager" ref="afterInvocationManager"/> <property name="objectDefinitionSource" value="org.egov.dms.services.FileService.*=ACL_USER_READ"/> </bean> <!-- ACL --> <bean id="businessAccessDecisionManager" class="org.springframework.security.access.vote.AffirmativeBased"> <property name="allowIfAllAbstainDecisions" value="false" /> <property name="decisionVoters"> <list> <ref bean="aclObjectReadVoter" /> </list> </property> </bean> <bean id="afterInvocationManager" class="org.springframework.security.access.intercept.AfterInvocationProviderManager"> <property name="providers"> <list> <ref local="afterAclRead" /> </list> </property> </bean> <bean id="afterAclRead" class="org.egov.infstr.security.spring.acl.GenericAclProvider" scope="prototype"> <constructor-arg ref="persistenceService" /> <constructor-arg> <list> <ref bean="readPermission" /> </list> </constructor-arg> </bean> <bean id="administrationPermission" name="administrationPermission" class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"> <property name="staticField" value="org.springframework.security.acls.domain.BasePermission.ADMINISTRATION" /> </bean> <bean id="readPermission" name="readPermission" class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"> <property name="staticField" value="org.springframework.security.acls.domain.BasePermission.READ" /> </bean> <bean id="writePermission" name="writePermission" class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"> <property name="staticField" value="org.springframework.security.acls.domain.BasePermission.WRITE" /> </bean> <bean id="deletePermission" name="deletePermission" class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"> <property name="staticField" value="org.springframework.security.acls.domain.BasePermission.DELETE" /> </bean> {noformat}

    Spring JIRA | 4 years ago | sreekanth
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]: Unable to instantiate Action, org.egov.web.actions.dms.FileManagementAction, defined for 'fileManagement' in namespace '/dms'Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]
  3. 0

    From 3.2.3 version i'm running in to problems where it try to load the unrelated objects as well I'm getting the following exception for this. {noformat} [31m16:23:08,045 ERROR [org.apache.struts2.dispatcher.Dispatcher] (http-localhost/127.0.0.1:8080-1) Exception occurred during processing request: Unable to instantiate Action, org.egov.web.actions.dms.FileManagementAction, defined for 'fileManagement' in namespace '/dms'Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]: Unable to instantiate Action, org.egov.web.actions.dms.FileManagementAction, defined for 'fileManagement' in namespace '/dms'Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:316) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:397) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:194) [xwork-core-2.3.15.jar:2.3.15] at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) [struts2-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) [xwork-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:553) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99) [struts2-core-2.3.15.jar:2.3.15] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93) [spring-modules-jcr-0.9patch.jar:0.9-20080306135025] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) [displaytag-1.1.jar:1.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.egov.infstr.client.filter.SetSessionVarFilter.doFilter(SetSessionVarFilter.java:108) [egov-egi.jar:] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.egov.infstr.security.spring.filter.SimpleSSOFilter.doFilter(SimpleSSOFilter.java:150) [egov-egi.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:125) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.egov.infstr.client.filter.HibSessionServletFilter.doFilter(HibSessionServletFilter.java:60) [egov-egi.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.egov.infstr.client.filter.SetThreadLocals.doFilter(SetThreadLocals.java:53) [egov-egi.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at net.sf.ehcache.constructs.web.filter.GzipFilter.doFilter(GzipFilter.java:85) [ehcache-web-2.0.3.jar:] at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86) [ehcache-web-2.0.3.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1454) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:249) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByName(AbstractAutowireCapableBeanFactory.java:1146) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1096) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:376) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at com.opensymphony.xwork2.spring.SpringObjectFactory.autoWireBean(SpringObjectFactory.java:203) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:183) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:154) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:151) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.ObjectFactory.buildAction(ObjectFactory.java:121) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:297) [xwork-core-2.3.15.jar:2.3.15] ... 75 more Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1209) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1101) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.ProxyFactoryBean.initializeAdvisorChain(ProxyFactoryBean.java:455) [spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.ProxyFactoryBean.getObject(ProxyFactoryBean.java:241) [spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] ... 88 more Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1275) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:575) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1344) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:356) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:335) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:187) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:191) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:895) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:853) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:768) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1194) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] ... 98 more Caused by: java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:196) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:444) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:432) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:374) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:119) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.springframework.util.ClassUtils.forName(ClassUtils.java:260) [spring-core-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:416) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1296) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1267) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] ... 108 more {noformat} When i try to inject fileService it also try to load some other object which is not at all related to fileService (or any dependency services) *Here i know the bean definitionsetting for MethodSecurityInterceptor is WRONG* but if you see the error log its showing CNFException for some other classes which exist in some other applicationContext which is lazy-loaded and have no referenced to MethodSecurityInterceptor or any other beans. {noformat} <bean id="fileService" class="org.springframework.aop.framework.ProxyFactoryBean"> <property name="target" ref="fileServiceTarget" /> <property name="interceptorNames"> <list> <value>aclMethodSecurityInterceptor</value> </list> </property> <property name="proxyTargetClass" value="true"/> </bean> <bean id="fileServiceTarget" parent="persistenceService" autowire-candidate="true" autowire="byName" class="org.egov.dms.services.FileService" > <property name="type" value="org.egov.dms.models.GenericFile" /> </bean> <bean id="aclObjectReadVoter" name="aclObjectReadVoter" class="org.egov.dms.acl.DocumentAclVoter" scope="prototype"> <constructor-arg ref="persistenceService"/> <constructor-arg value="ACL_OBJECT_READ"/> <constructor-arg> <list> <ref bean="readPermission"/> </list> </constructor-arg> <property name="eisService" ref="eisService"/> <property name="rbacManager" ref="rbacMgr"/> </bean> <bean id="aclMethodSecurityInterceptor" name="aclMethodSecurityInterceptor" class="org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor"> <property name="accessDecisionManager" ref="businessAccessDecisionManager"/> <property name="afterInvocationManager" ref="afterInvocationManager"/> <property name="objectDefinitionSource" value="org.egov.dms.services.FileService.*=ACL_USER_READ"/> </bean> <!-- ACL --> <bean id="businessAccessDecisionManager" class="org.springframework.security.access.vote.AffirmativeBased"> <property name="allowIfAllAbstainDecisions" value="false" /> <property name="decisionVoters"> <list> <ref bean="aclObjectReadVoter" /> </list> </property> </bean> <bean id="afterInvocationManager" class="org.springframework.security.access.intercept.AfterInvocationProviderManager"> <property name="providers"> <list> <ref local="afterAclRead" /> </list> </property> </bean> <bean id="afterAclRead" class="org.egov.infstr.security.spring.acl.GenericAclProvider" scope="prototype"> <constructor-arg ref="persistenceService" /> <constructor-arg> <list> <ref bean="readPermission" /> </list> </constructor-arg> </bean> <bean id="administrationPermission" name="administrationPermission" class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"> <property name="staticField" value="org.springframework.security.acls.domain.BasePermission.ADMINISTRATION" /> </bean> <bean id="readPermission" name="readPermission" class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"> <property name="staticField" value="org.springframework.security.acls.domain.BasePermission.READ" /> </bean> <bean id="writePermission" name="writePermission" class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"> <property name="staticField" value="org.springframework.security.acls.domain.BasePermission.WRITE" /> </bean> <bean id="deletePermission" name="deletePermission" class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"> <property name="staticField" value="org.springframework.security.acls.domain.BasePermission.DELETE" /> </bean> {noformat}

    Spring JIRA | 4 years ago | sreekanth
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]: Unable to instantiate Action, org.egov.web.actions.dms.FileManagementAction, defined for 'fileManagement' in namespace '/dms'Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting very strange unrelated spring initialization exception while opening a struts2 page. We are using latest spring release 3.2.3. Exception as follows {noformat} [31m16:23:08,045 ERROR [org.apache.struts2.dispatcher.Dispatcher] (http-localhost/127.0.0.1:8080-1) Exception occurred during processing request: Unable to instantiate Action, org.egov.web.actions.dms.FileManagementAction, defined for 'fileManagement' in namespace '/dms'Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]: Unable to instantiate Action, org.egov.web.actions.dms.FileManagementAction, defined for 'fileManagement' in namespace '/dms'Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:316) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:397) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:194) [xwork-core-2.3.15.jar:2.3.15] at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) [struts2-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) [xwork-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:553) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99) [struts2-core-2.3.15.jar:2.3.15] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93) [spring-modules-jcr-0.9patch.jar:0.9-20080306135025] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) [displaytag-1.1.jar:1.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.egov.infstr.client.filter.SetSessionVarFilter.doFilter(SetSessionVarFilter.java:108) [egov-egi.jar:] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.egov.infstr.security.spring.filter.SimpleSSOFilter.doFilter(SimpleSSOFilter.java:150) [egov-egi.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:125) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.egov.infstr.client.filter.HibSessionServletFilter.doFilter(HibSessionServletFilter.java:60) [egov-egi.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.egov.infstr.client.filter.SetThreadLocals.doFilter(SetThreadLocals.java:53) [egov-egi.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at net.sf.ehcache.constructs.web.filter.GzipFilter.doFilter(GzipFilter.java:85) [ehcache-web-2.0.3.jar:] at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86) [ehcache-web-2.0.3.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1454) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:249) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByName(AbstractAutowireCapableBeanFactory.java:1146) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1096) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:376) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at com.opensymphony.xwork2.spring.SpringObjectFactory.autoWireBean(SpringObjectFactory.java:203) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:183) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:154) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:151) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.ObjectFactory.buildAction(ObjectFactory.java:121) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:297) [xwork-core-2.3.15.jar:2.3.15] ... 75 more Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1209) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1101) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.ProxyFactoryBean.initializeAdvisorChain(ProxyFactoryBean.java:455) [spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.ProxyFactoryBean.getObject(ProxyFactoryBean.java:241) [spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] ... 88 more Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1275) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:575) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1344) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:356) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:335) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:187) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:191) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:895) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:853) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:768) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1194) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] ... 98 more Caused by: java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:196) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:444) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:432) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:374) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:119) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.springframework.util.ClassUtils.forName(ClassUtils.java:260) [spring-core-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:416) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1296) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1267) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] ... 108 more {noformat} Here at a glance it look like our application specific spring configuration problem, strictly speaking its is not (removing my declaration :) ). The CNF exception is the root cause of it but that class is not related to the Action which i'm trying to initiate (not even any reference). The *applicationContext-erpcollection.xml* which contains the class (which cause CNFE) is in lazy-load mode so it will never get initialized until we ask for it.

    Apache's JIRA Issue Tracker | 4 years ago | nick
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]: Unable to instantiate Action, org.egov.web.actions.dms.FileManagementAction, defined for 'fileManagement' in namespace '/dms'Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]
  6. 0

    integration jsf and spring org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.primefaces.spring.scope.ViewScope]

    Stack Overflow | 2 years ago | Marina
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.CustomScopeConfigurer#0' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot create inner bean 'org.primefaces.spring.scope.ViewScope#1299ebc' of type [org.primefaces.spring.scope.ViewScope] while setting bean property 'scopes' with key [TypedStringValue: value [view], target type [null]]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.primefaces.spring.scope.ViewScope] for bean with name 'org.primefaces.spring.scope.ViewScope#1299ebc' defined in ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.primefaces.spring.scope.ViewScope from [Module "deployment.Projet_sqli.war:main" from Service Module Loader]
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.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]

    at org.jboss.modules.ModuleClassLoader.findClass()
  2. JBoss Modules
    ConcurrentClassLoader.loadClass
    1. org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:196)[jboss-modules.jar:1.2.0.Final-redhat-1]
    2. org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:444)[jboss-modules.jar:1.2.0.Final-redhat-1]
    3. org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:432)[jboss-modules.jar:1.2.0.Final-redhat-1]
    4. org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:374)[jboss-modules.jar:1.2.0.Final-redhat-1]
    5. org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:119)[jboss-modules.jar:1.2.0.Final-redhat-1]
    5 frames
  3. Spring Core
    ClassUtils.forName
    1. org.springframework.util.ClassUtils.forName(ClassUtils.java:260)[spring-core-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    1 frame
  4. Spring Beans
    AbstractBeanFactory.getBean
    1. org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:416)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    2. org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1296)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    3. org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1267)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:575)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    5. org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1344)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    6. org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:356)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    7. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:335)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    8. org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:187)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    9. org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:191)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    10. org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:895)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    11. org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:853)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    12. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:768)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    13. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1194)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    14. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1101)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    15. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    16. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    17. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    18. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    19. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    20. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    20 frames
  5. Spring AOP
    ProxyFactoryBean.getObject
    1. org.springframework.aop.framework.ProxyFactoryBean.initializeAdvisorChain(ProxyFactoryBean.java:455)[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    2. org.springframework.aop.framework.ProxyFactoryBean.getObject(ProxyFactoryBean.java:241)[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    2 frames
  6. Spring Beans
    AbstractAutowireCapableBeanFactory.autowireBeanProperties
    1. org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    2. org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    3. org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1454)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:249)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByName(AbstractAutowireCapableBeanFactory.java:1146)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1096)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    8. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:376)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    8 frames
  7. XWork
    DefaultActionProxy.prepare
    1. com.opensymphony.xwork2.spring.SpringObjectFactory.autoWireBean(SpringObjectFactory.java:203)[xwork-core-2.3.15.jar:2.3.15]
    2. com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:183)[xwork-core-2.3.15.jar:2.3.15]
    3. com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:154)[xwork-core-2.3.15.jar:2.3.15]
    4. com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:151)[xwork-core-2.3.15.jar:2.3.15]
    5. com.opensymphony.xwork2.ObjectFactory.buildAction(ObjectFactory.java:121)[xwork-core-2.3.15.jar:2.3.15]
    6. com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:297)[xwork-core-2.3.15.jar:2.3.15]
    7. com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:397)[xwork-core-2.3.15.jar:2.3.15]
    8. com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:194)[xwork-core-2.3.15.jar:2.3.15]
    8 frames
  8. Struts2
    StrutsActionProxyFactory.createActionProxy
    1. org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)[struts2-core-2.3.15.jar:2.3.15]
    2. org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)[struts2-core-2.3.15.jar:2.3.15]
    2 frames
  9. XWork
    DefaultActionProxyFactory.createActionProxy
    1. com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)[xwork-core-2.3.15.jar:2.3.15]
    1 frame
  10. Struts2
    StrutsPrepareAndExecuteFilter.doFilter
    1. org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:553)[struts2-core-2.3.15.jar:2.3.15]
    2. org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)[struts2-core-2.3.15.jar:2.3.15]
    3. org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)[struts2-core-2.3.15.jar:2.3.15]
    3 frames
  11. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2 frames
  12. org.springmodules.jcr
    OpenSessionInViewFilter.doFilterInternal
    1. org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93)[spring-modules-jcr-0.9patch.jar:0.9-20080306135025]
    1 frame
  13. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    1 frame
  14. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2 frames
  15. Display tag library
    ResponseOverrideFilter.doFilter
    1. org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)[displaytag-1.1.jar:1.1]
    1 frame
  16. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2 frames
  17. org.egov.infstr
    SetSessionVarFilter.doFilter
    1. org.egov.infstr.client.filter.SetSessionVarFilter.doFilter(SetSessionVarFilter.java:108)[egov-egi.jar:]
    1 frame
  18. Spring
    DelegatingFilterProxy.doFilter
    1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)[spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)[spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    2 frames
  19. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2 frames
  20. Spring Security
    FilterChainProxy$VirtualFilterChain.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    2. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    3. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    4. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    5. org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    6. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    7. org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    8. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    9. org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    10. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    11. org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    12. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    13. org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    14. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    14 frames
  21. org.egov.infstr
    SimpleSSOFilter.doFilter
    1. org.egov.infstr.security.spring.filter.SimpleSSOFilter.doFilter(SimpleSSOFilter.java:150)[egov-egi.jar:]
    1 frame
  22. Spring Security
    FilterChainProxy.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    2. org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    3. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    4. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    5. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    6. org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:125)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    7. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    8. org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    9. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
    9 frames
  23. Spring
    DelegatingFilterProxy.doFilter
    1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)[spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)[spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    2 frames
  24. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2 frames
  25. org.egov.infstr
    HibSessionServletFilter.doFilter
    1. org.egov.infstr.client.filter.HibSessionServletFilter.doFilter(HibSessionServletFilter.java:60)[egov-egi.jar:]
    1 frame
  26. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2 frames
  27. org.egov.infstr
    SetThreadLocals.doFilter
    1. org.egov.infstr.client.filter.SetThreadLocals.doFilter(SetThreadLocals.java:53)[egov-egi.jar:]
    1 frame
  28. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2 frames
  29. Ehcache Web Filters
    Filter.doFilter
    1. net.sf.ehcache.constructs.web.filter.GzipFilter.doFilter(GzipFilter.java:85)[ehcache-web-2.0.3.jar:]
    2. net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)[ehcache-web-2.0.3.jar:]
    2 frames
  30. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2 frames
  31. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)[spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
    2 frames
  32. Glassfish Core
    StandardContextValve.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    4 frames
  33. JBoss Web
    SecurityContextAssociationValve.invoke
    1. org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
    1 frame
  34. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    3. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    4. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    4 frames
  35. Grizzly HTTP
    JIoEndpoint$Worker.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
    3 frames
  36. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:724)[rt.jar:1.7.0_25]
    1 frame