org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.pims.service.EisUtilService] for bean with name 'eisService' defined in class path resource [org/egov/infstr/beanfactory/globalApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService from [Module "deployment.egov.ear.egiadmin.war:main" from Service Module Loader]

Spring JIRA | sreekanth | 5 years ago
  1. 0

    When i was using spring-2.0.6.jar with default-lazy-init property set to true with the same environment, the lazy loading was working perfect with out any deployment error but with the latest Spring lazy loading is not working at all. I'm getting the following error. java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService, we wont be having this particular class at Jboss loading time and non of the other beans is refers this bean definition in any of the applicationContext. The main concern is this, the same code in the same environment works perfectly with spring-2.0.6.jar but it doesn't with spring 3.1.0.RC1 14:36:51,092 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/egi]] (MSC service thread 1-1) Initializing Spring root WebApplicationContext 14:36:51,094 INFO [org.springframework.web.context.ContextLoader] (MSC service thread 1-1) Root WebApplicationContext: initialization started 14:36:51,198 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (MSC service thread 1-1) Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@1961bac: startup date [Mon Nov 14 14:36:51 IST 2011]; root of context hierarchy 14:36:51,316 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from URL [vfs:/C:/Server/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/deployments/egov.ear/lib/egijava.jar/org/egov/infstr/beanfactory/erpApplicationContext.xml] 14:36:53,370 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from URL [vfs:/C:/Server/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/deployments/egov.ear/lib/mappings.jar/org/egov/infstr/beanfactory/erpApplicationContext.xml] 14:36:53,426 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Overriding bean definition for bean 'erpApplicationContext': replacing [Generic bean: class [org.springframework.context.support.ClassPathXmlApplicationContext]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [vfs:/C:/Server/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/deployments/egov.ear/lib/egijava.jar/org/egov/infstr/beanfactory/erpApplicationContext.xml]] with [Generic bean: class [org.springframework.context.support.ClassPathXmlApplicationContext]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [vfs:/C:/Server/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/deployments/egov.ear/lib/mappings.jar/org/egov/infstr/beanfactory/erpApplicationContext.xml]] 14:37:50,957 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@b08b13: defining beans [erpApplicationContext]; root of factory hierarchy 14:38:43,595 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (MSC service thread 1-1) Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@491238: startup date [Mon Nov 14 14:38:43 IST 2011]; root of context hierarchy 14:38:43,597 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/globalApplicationContext.xml] 14:38:43,665 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/egiApplicationContext.xml] 14:38:43,699 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Overriding bean definition for bean 'moduleDAO': replacing [Generic bean: class [org.egov.infstr.commons.dao.ModuleHibDao]; scope=prototype; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [org/egov/infstr/beanfactory/globalApplicationContext.xml]] with [Generic bean: class [org.egov.infstr.commons.dao.ModuleHibDao]; scope=prototype; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [org/egov/infstr/beanfactory/egiApplicationContext.xml]] 14:38:43,702 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-jcr.xml] 14:38:43,929 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-erpcollections.xml] 14:38:44,052 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-egf.xml] 14:38:44,242 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-pims.xml] 14:38:44,266 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-demand.xml] 14:40:42,921 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@df8f81: defining beans [genericCommonService,rbacService,roleService,userService,boundaryService,boundaryTypeService,heirarchyTypeService,cityWebsiteService,commonsService,beanProvider,egovSessionFactory,persistenceService,sequenceGenerator,appConfigValuesDAO,reportService,scriptService,scriptExecutionService,stateService,userPersistanceService,eisService,genericDao,installmentDao,moduleDAO,workflowService,errorMailService,feedbackMailService,mailMessage,mailSender,customizedWorkFlowService,personalInformationService,employeeNomineeMasterService,drawingOfficerService,relationService,accountEntityService,egItemService,contractorService,projectCodeService,depositCodeService,advocateMasterService,pensionHeaderService,authRuleService,RuleInterceptorFilter,SetSessionVarFilter,boundaryDAO,boundaryTypeDAO,heirarchyTypeDAO,cityWebsiteDAO,userDao,departmentDao,actionDao,workflowTypeService,inboxComparator,workflowAdmin,moveBoundaryDelegate,favouriteService,repository,jcrSessionFactory,password,jcrTemplate,ocmList,ocmMapper,documentManagerService,collectionsNumberGenerator,receiptHeaderService,receiptPayeeDetailsService,receiptWorkflowService,collectionCommon,collectionsUtil,financialsUtil,collectionIntegrationService,PTCollectionsInterface,TLCollectionsInterface,HLCollectionsInterface,HWLCollectionsInterface,WWLCollectionsInterface,VETLCollectionsInterface,monthlyDemandService,quarterlyDemandService,yearlyDemandService,halfyearlyDemandService,LECollectionsInterface,actualDemandService,installmentService,demandReasonService,egDemandReasonMasterService,demandDetailService,voucherCreator,egovCommon,instrumentService,instrumentHeaderService,instrumentTypeService,instrumentVouherService,bankreconciliationService,contraService,contraWorkflowService,contrajournalService,vdPersitSer,bankReconService,instrumentOtherDetailsService,eisManager,eisCommonsManager,searchPositionService,designationDao,personalInfoDao,positionService,demandDao,billDao]; root of factory hierarchy 14:40:43,012 INFO [org.springframework.web.context.support.XmlWebApplicationContext] (MSC service thread 1-1) Refreshing Root WebApplicationContext: startup date [Mon Nov 14 14:40:43 IST 2011]; parent: ApplicationContext 'erpApplicationContext' 14:40:43,018 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from ServletContext resource [/WEB-INF/security.xml] 14:40:43,072 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from ServletContext resource [/WEB-INF/erpInboxContext.xml] 14:40:43,182 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1436f66: defining beans [filterChainProxy,httpSessionContextIntegrationFilter,logoutFilter,simpleSSOFilter,authenticationProcessingFilter,securityContextHolderAwareRequestFilter,rememberMeProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,filterInvocationInterceptor,accessDecisionManager,rememberMeServices,authenticationManager,concurrentSessionController,daoAuthenticationProvider,anonymousAuthenticationProvider,rememberMeAuthenticationProvider,passwordEncoder,loggerListener,methodSecurityInterceptor,channelProcessingFilter,channelDecisionManager,userDetailsService,egovFilterInvocationDefinitionSource,businessAccessDecisionManager,afterInvocationManager,afterAclRead,administrationPermission,readPermission,writePermission,deletePermission,inboxService,defaultWorkflowTypeService]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@df8f81 14:40:43,188 INFO [org.springframework.web.context.ContextLoader] (MSC service thread 1-1) Root WebApplicationContext: initialization completed in 232094 ms 14:40:43,542 INFO [org.displaytag.filter.ResponseOverrideFilter] (MSC service thread 1-1) Filter initialized. Response buffering is enabled 14:42:08,976 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/egi]] (MSC service thread 1-1) Exception starting filter acegi_securityFilter: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.pims.service.EisUtilService] for bean with name 'eisService' defined in class path resource [org/egov/infstr/beanfactory/globalApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService from [Module "deployment.egov.ear.egiadmin.war:main" from Service Module Loader] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1262) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:579) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:396) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1164) [org.springframework.context-3.1.0.RC1.jar:] at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:275) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:279) [org.springframework.beans-3.1.0.RC1.jar:] at org.acegisecurity.util.FilterToBeanProxy.doInit(FilterToBeanProxy.java:142) [acegi-security-1.0.5.jar:] at org.acegisecurity.util.FilterToBeanProxy.init(FilterToBeanProxy.java:189) [acegi-security-1.0.5.jar:] at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:447) [jbossweb-7.0.2.Final.jar:7.1.0.Alpha2-SNAPSHOT] at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3269) [jbossweb-7.0.2.Final.jar:7.1.0.Alpha2-SNAPSHOT] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3860) [jbossweb-7.0.2.Final.jar:7.1.0.Alpha2-SNAPSHOT] at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:81) [jboss-as-web-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) [:1.6.0] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) [:1.6.0] at java.lang.Thread.run(Thread.java:619) [:1.6.0] Caused by: java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService from [Module "deployment.egov.ear.egiadmin.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103) at org.springframework.util.ClassUtils.forName(ClassUtils.java:257) [org.springframework.core-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254) [org.springframework.beans-3.1.0.RC1.jar:] The schema which used for all my spring xml as follows <?xml version="1.0" encoding="UTF-8"?> <beans:beans xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd" default-lazy-init="true"> and each and every bean definition with lazy-init=true I hope this is a Major Bug ... We are really stuck of Spring migration with our new Jboss AS 7.. Please let me know if you guys need know more specific information.

    Spring JIRA | 5 years ago | sreekanth
    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.pims.service.EisUtilService] for bean with name 'eisService' defined in class path resource [org/egov/infstr/beanfactory/globalApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService from [Module "deployment.egov.ear.egiadmin.war:main" from Service Module Loader]
  2. 0

    When i was using spring-2.0.6.jar with default-lazy-init property set to true with the same environment, the lazy loading was working perfect with out any deployment error but with the latest Spring lazy loading is not working at all. I'm getting the following error. java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService, we wont be having this particular class at Jboss loading time and non of the other beans is refers this bean definition in any of the applicationContext. The main concern is this, the same code in the same environment works perfectly with spring-2.0.6.jar but it doesn't with spring 3.1.0.RC1 14:36:51,092 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/egi]] (MSC service thread 1-1) Initializing Spring root WebApplicationContext 14:36:51,094 INFO [org.springframework.web.context.ContextLoader] (MSC service thread 1-1) Root WebApplicationContext: initialization started 14:36:51,198 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (MSC service thread 1-1) Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@1961bac: startup date [Mon Nov 14 14:36:51 IST 2011]; root of context hierarchy 14:36:51,316 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from URL [vfs:/C:/Server/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/deployments/egov.ear/lib/egijava.jar/org/egov/infstr/beanfactory/erpApplicationContext.xml] 14:36:53,370 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from URL [vfs:/C:/Server/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/deployments/egov.ear/lib/mappings.jar/org/egov/infstr/beanfactory/erpApplicationContext.xml] 14:36:53,426 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Overriding bean definition for bean 'erpApplicationContext': replacing [Generic bean: class [org.springframework.context.support.ClassPathXmlApplicationContext]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [vfs:/C:/Server/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/deployments/egov.ear/lib/egijava.jar/org/egov/infstr/beanfactory/erpApplicationContext.xml]] with [Generic bean: class [org.springframework.context.support.ClassPathXmlApplicationContext]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [vfs:/C:/Server/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/deployments/egov.ear/lib/mappings.jar/org/egov/infstr/beanfactory/erpApplicationContext.xml]] 14:37:50,957 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@b08b13: defining beans [erpApplicationContext]; root of factory hierarchy 14:38:43,595 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (MSC service thread 1-1) Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@491238: startup date [Mon Nov 14 14:38:43 IST 2011]; root of context hierarchy 14:38:43,597 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/globalApplicationContext.xml] 14:38:43,665 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/egiApplicationContext.xml] 14:38:43,699 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Overriding bean definition for bean 'moduleDAO': replacing [Generic bean: class [org.egov.infstr.commons.dao.ModuleHibDao]; scope=prototype; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [org/egov/infstr/beanfactory/globalApplicationContext.xml]] with [Generic bean: class [org.egov.infstr.commons.dao.ModuleHibDao]; scope=prototype; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [org/egov/infstr/beanfactory/egiApplicationContext.xml]] 14:38:43,702 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-jcr.xml] 14:38:43,929 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-erpcollections.xml] 14:38:44,052 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-egf.xml] 14:38:44,242 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-pims.xml] 14:38:44,266 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-demand.xml] 14:40:42,921 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@df8f81: defining beans [genericCommonService,rbacService,roleService,userService,boundaryService,boundaryTypeService,heirarchyTypeService,cityWebsiteService,commonsService,beanProvider,egovSessionFactory,persistenceService,sequenceGenerator,appConfigValuesDAO,reportService,scriptService,scriptExecutionService,stateService,userPersistanceService,eisService,genericDao,installmentDao,moduleDAO,workflowService,errorMailService,feedbackMailService,mailMessage,mailSender,customizedWorkFlowService,personalInformationService,employeeNomineeMasterService,drawingOfficerService,relationService,accountEntityService,egItemService,contractorService,projectCodeService,depositCodeService,advocateMasterService,pensionHeaderService,authRuleService,RuleInterceptorFilter,SetSessionVarFilter,boundaryDAO,boundaryTypeDAO,heirarchyTypeDAO,cityWebsiteDAO,userDao,departmentDao,actionDao,workflowTypeService,inboxComparator,workflowAdmin,moveBoundaryDelegate,favouriteService,repository,jcrSessionFactory,password,jcrTemplate,ocmList,ocmMapper,documentManagerService,collectionsNumberGenerator,receiptHeaderService,receiptPayeeDetailsService,receiptWorkflowService,collectionCommon,collectionsUtil,financialsUtil,collectionIntegrationService,PTCollectionsInterface,TLCollectionsInterface,HLCollectionsInterface,HWLCollectionsInterface,WWLCollectionsInterface,VETLCollectionsInterface,monthlyDemandService,quarterlyDemandService,yearlyDemandService,halfyearlyDemandService,LECollectionsInterface,actualDemandService,installmentService,demandReasonService,egDemandReasonMasterService,demandDetailService,voucherCreator,egovCommon,instrumentService,instrumentHeaderService,instrumentTypeService,instrumentVouherService,bankreconciliationService,contraService,contraWorkflowService,contrajournalService,vdPersitSer,bankReconService,instrumentOtherDetailsService,eisManager,eisCommonsManager,searchPositionService,designationDao,personalInfoDao,positionService,demandDao,billDao]; root of factory hierarchy 14:40:43,012 INFO [org.springframework.web.context.support.XmlWebApplicationContext] (MSC service thread 1-1) Refreshing Root WebApplicationContext: startup date [Mon Nov 14 14:40:43 IST 2011]; parent: ApplicationContext 'erpApplicationContext' 14:40:43,018 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from ServletContext resource [/WEB-INF/security.xml] 14:40:43,072 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from ServletContext resource [/WEB-INF/erpInboxContext.xml] 14:40:43,182 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1436f66: defining beans [filterChainProxy,httpSessionContextIntegrationFilter,logoutFilter,simpleSSOFilter,authenticationProcessingFilter,securityContextHolderAwareRequestFilter,rememberMeProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,filterInvocationInterceptor,accessDecisionManager,rememberMeServices,authenticationManager,concurrentSessionController,daoAuthenticationProvider,anonymousAuthenticationProvider,rememberMeAuthenticationProvider,passwordEncoder,loggerListener,methodSecurityInterceptor,channelProcessingFilter,channelDecisionManager,userDetailsService,egovFilterInvocationDefinitionSource,businessAccessDecisionManager,afterInvocationManager,afterAclRead,administrationPermission,readPermission,writePermission,deletePermission,inboxService,defaultWorkflowTypeService]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@df8f81 14:40:43,188 INFO [org.springframework.web.context.ContextLoader] (MSC service thread 1-1) Root WebApplicationContext: initialization completed in 232094 ms 14:40:43,542 INFO [org.displaytag.filter.ResponseOverrideFilter] (MSC service thread 1-1) Filter initialized. Response buffering is enabled 14:42:08,976 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/egi]] (MSC service thread 1-1) Exception starting filter acegi_securityFilter: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.pims.service.EisUtilService] for bean with name 'eisService' defined in class path resource [org/egov/infstr/beanfactory/globalApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService from [Module "deployment.egov.ear.egiadmin.war:main" from Service Module Loader] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1262) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:579) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:396) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1164) [org.springframework.context-3.1.0.RC1.jar:] at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:275) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:279) [org.springframework.beans-3.1.0.RC1.jar:] at org.acegisecurity.util.FilterToBeanProxy.doInit(FilterToBeanProxy.java:142) [acegi-security-1.0.5.jar:] at org.acegisecurity.util.FilterToBeanProxy.init(FilterToBeanProxy.java:189) [acegi-security-1.0.5.jar:] at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:447) [jbossweb-7.0.2.Final.jar:7.1.0.Alpha2-SNAPSHOT] at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3269) [jbossweb-7.0.2.Final.jar:7.1.0.Alpha2-SNAPSHOT] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3860) [jbossweb-7.0.2.Final.jar:7.1.0.Alpha2-SNAPSHOT] at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:81) [jboss-as-web-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) [:1.6.0] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) [:1.6.0] at java.lang.Thread.run(Thread.java:619) [:1.6.0] Caused by: java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService from [Module "deployment.egov.ear.egiadmin.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103) at org.springframework.util.ClassUtils.forName(ClassUtils.java:257) [org.springframework.core-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254) [org.springframework.beans-3.1.0.RC1.jar:] The schema which used for all my spring xml as follows <?xml version="1.0" encoding="UTF-8"?> <beans:beans xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd" default-lazy-init="true"> and each and every bean definition with lazy-init=true I hope this is a Major Bug ... We are really stuck of Spring migration with our new Jboss AS 7.. Please let me know if you guys need know more specific information.

    Spring JIRA | 5 years ago | sreekanth
    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.pims.service.EisUtilService] for bean with name 'eisService' defined in class path resource [org/egov/infstr/beanfactory/globalApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService from [Module "deployment.egov.ear.egiadmin.war:main" from Service Module Loader]
  3. 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]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Waffle as a module in Jboss 7.1

    Stack Overflow | 3 years ago | pjuanmg
    java.lang.ClassNotFoundException: waffle.spring.NegotiateSecurityFilterEntryPoint from [Module "deployment.Grc.war:main" from Service Module Loader]
  6. 0

    JBOSS 7.1.1 Spring CXF error

    Stack Overflow | 2 years ago
    java.lang.ClassNotFoundException: org.apache.cxf.jaxws.spring.NamespaceHandler from [Module "deployment.Gestion-web-co-web.war:main" from Service Module Loader]

  1. Andreas Häber 1 times, last 1 month ago
  2. Reich 8 times, last 2 weeks ago
  3. andyglick 1 times, last 1 month ago
  4. Cafecanudo 3 times, last 2 months ago
  5. pbabcsany 2 times, last 2 months ago
3 more registered users
74 unregistered visitors
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.pims.service.EisUtilService from [Module "deployment.egov.ear.egiadmin.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:191)
    2. org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)
    3. org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)
    4. org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)
    4 frames
  3. Spring Core
    ClassUtils.forName
    1. org.springframework.util.ClassUtils.forName(ClassUtils.java:257)[org.springframework.core-3.1.0.RC1.jar:]
    1 frame
  4. Spring Beans
    AbstractBeanFactory.resolveBeanClass
    1. org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417)[org.springframework.beans-3.1.0.RC1.jar:]
    2. org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283)[org.springframework.beans-3.1.0.RC1.jar:]
    3. org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254)[org.springframework.beans-3.1.0.RC1.jar:]
    3 frames