org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'initialFlowSetupAction': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.jasig.cas.web.flow.InitialFlowSetupAction.setTicketGrantingTicketCookieGenerator(org.jasig.cas.web.support.CookieRetrievingCookieGenerator); nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ticketGrantingTicketCookieGenerator' defined in URL [jar:file:/C:/xampp/tomcat/webapps/cas/WEB-INF/lib/cas-server-webapp-cookie-4.2.1.jar!/org/jasig/cas/web/support/TGCCookieRetrievingCookieGenerator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.jasig.cas.web.support.CookieValueManager]: : Error creating bean with name 'defaultCookieValueManager' defined in URL [jar:file:/C:/xampp/tomcat/webapps/cas/WEB-INF/lib/cas-server-webapp-cookie-4.2.1.jar!/org/jasig/cas/web/support/DefaultCasCookieValueManager.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.jasig.cas.CipherExecutor]: : No qualifying bean of type [org.jasig.cas.CipherExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=defaultCookieCipherExecutor)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.jasig.cas.CipherExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=defaultCookieCipherExecutor)}; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultCookieValueManager' defined in URL [jar:file:/C:/xampp/tomcat/webapps/cas/WEB-INF/lib/cas-server-webapp-cookie-4.2.1.jar!/org/jasig/cas/web/support/DefaultCasCookieValueManager.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.jasig.cas.CipherExecutor]: : No qualifying bean of type [org.jasig.cas.CipherExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=defaultCookieCipherExecutor)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.jasig.cas.CipherExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=defaultCookieCipherExecutor)}

GitHub | nader93k | 8 months ago
  1. 0

    CAS 4.2.1 database authentication handlers seem to work wrong

    GitHub | 8 months ago | nader93k
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'initialFlowSetupAction': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.jasig.cas.web.flow.InitialFlowSetupAction.setTicketGrantingTicketCookieGenerator(org.jasig.cas.web.support.CookieRetrievingCookieGenerator); nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ticketGrantingTicketCookieGenerator' defined in URL [jar:file:/C:/xampp/tomcat/webapps/cas/WEB-INF/lib/cas-server-webapp-cookie-4.2.1.jar!/org/jasig/cas/web/support/TGCCookieRetrievingCookieGenerator.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.jasig.cas.web.support.CookieValueManager]: : Error creating bean with name 'defaultCookieValueManager' defined in URL [jar:file:/C:/xampp/tomcat/webapps/cas/WEB-INF/lib/cas-server-webapp-cookie-4.2.1.jar!/org/jasig/cas/web/support/DefaultCasCookieValueManager.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.jasig.cas.CipherExecutor]: : No qualifying bean of type [org.jasig.cas.CipherExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=defaultCookieCipherExecutor)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.jasig.cas.CipherExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=defaultCookieCipherExecutor)}; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultCookieValueManager' defined in URL [jar:file:/C:/xampp/tomcat/webapps/cas/WEB-INF/lib/cas-server-webapp-cookie-4.2.1.jar!/org/jasig/cas/web/support/DefaultCasCookieValueManager.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.jasig.cas.CipherExecutor]: : No qualifying bean of type [org.jasig.cas.CipherExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=defaultCookieCipherExecutor)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.jasig.cas.CipherExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=defaultCookieCipherExecutor)}
  2. 0

    cas-management 503

    GitHub | 8 months ago | chaegumi
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestParameterAuthenticationPolicyWebflowEventResolver': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.springframework.web.util.CookieGenerator org.jasig.cas.web.flow.resolver.AbstractCasWebflowEventResolver.warnCookieGenerator; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.web.util.CookieGenerator] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.validation.constraints.NotNull(message={javax.validation.constraints.NotNull.message}, groups=[], payload=[]), @org.springframework.beans.factory.annotation.Autowired(required=true), @org.springframework.beans.factory.annotation.Qualifier(value=warnCookieGenerator)}
  3. 0

    GitHub comment 15#151869653

    GitHub | 1 year ago | frankie13
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoLookup' defined in ServletContext resource [/WEB-INF/db-config.xml]: Cannot resolve reference to bean 'emPCRStore' while setting bean property 'daos' with key [TypedStringValue: value [uk.ac.bbsrc.tgac.miso.core.data.impl.emPCR], target type [class java.lang.Class]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emPCRStore': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlEmPCRDAO' defined in ServletContext resource [/WEB-INF/db-config.xml]: Cannot resolve reference to bean 'sqlLibraryDilutionDAO' while setting bean property 'libraryDilutionDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlLibraryDilutionDAO' defined in ServletContext resource [/WEB-INF/db-config.xml]: Cannot resolve reference to bean 'sqlLibraryDAO' while setting bean property 'libraryDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlLibraryDAO' defined in ServletContext resource [/WEB-INF/db-config.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'libraryNamingScheme' defined in ServletContext resource [/WEB-INF/miso-config.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestManager' defined in ServletContext resource [/WEB-INF/miso-config.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'experimentStore': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlExperimentDAO' defined in ServletContext resource [/WEB-INF/db-config.xml]: Cannot resolve reference to bean 'sqlStudyDAO' while setting bean property 'studyDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlStudyDAO' defined in ServletContext resource [/WEB-INF/db-config.xml]: Cannot resolve reference to bean 'sqlProjectDAO' while setting bean property 'projectDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlProjectDAO' defined in ServletContext resource [/WEB-INF/db-config.xml]: Cannot resolve reference to bean 'sqlRunDAO' while setting bean property 'runDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlRunDAO' defined in ServletContext resource [/WEB-INF/db-config.xml]: Cannot resolve reference to bean 'sqlSequencerPartitionContainerDAO' while setting bean property 'sequencerPartitionContainerDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSequencerPartitionContainerDAO' defined in ServletContext resource [/WEB-INF/db-config.xml]: Cannot resolve reference to bean 'sqlPartitionDAO' while setting bean property 'partitionDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlPartitionDAO' defined in ServletContext resource [/WEB-INF/db-config.xml]: Cannot resolve reference to bean 'sqlPoolDAO' while setting bean property 'poolDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlPoolDAO' defined in ServletContext resource [/WEB-INF/db-config.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'securityDAO' of bean class [uk.ac.bbsrc.tgac.miso.sqlstore.SQLPoolDAO]: Bean property 'securityDAO' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Eclipse Community Forums

    eclipse.org | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'camelTriggerLoader' defined in URL [jar:file:/Users/norhel/Documents/apache/apache-tomcat-7.0.59/webapps/ipp-portal/WEB-INF/lib/stardust-engine-camel-3.0.0-config.jar!/META-INF/spring/default-camel-context.xml]: Initialization of bean failed; nested exception is org.eclipse.stardust.common.error.IncompatibleAuditTrailException: Invalid audittrail version '1.0.1'. Eclipse Process Manager requires a minimum auditrail version '2.0.0'.
  6. 0

    Error launching Akura

    Stack Overflow | 2 months ago | Asmaa Samir
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [spring-beans/akura-dataSource-bean.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [spring-beans/akura-dataSource-bean.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: Java heap space

  1. Andreas Häber 2 times, last 4 weeks ago
  2. wendellpereira 12 times, last 2 months ago
  3. marcbouvierdav 7 times, last 3 months ago
  4. linxiaolong 7 times, last 4 months ago
  5. ggghjh 1 times, last 5 months ago
1 more registered users
94 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. org.springframework.beans.factory.NoSuchBeanDefinitionException

    No qualifying bean of type [org.jasig.cas.CipherExecutor] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=defaultCookieCipherExecutor)}

    at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException()
  2. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1373)
    2. org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1119)
    3. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
    4. org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)
    5. org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
    6. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
    7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
    8. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
    9. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
    10. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    11. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    12. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    13. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    14. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    15. org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
    16. org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
    17. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
    18. org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)
    19. org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
    20. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
    21. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
    22. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
    23. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
    24. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    25. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    26. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    27. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    28. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    29. org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
    30. org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
    31. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
    32. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:618)
    33. org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
    34. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
    35. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
    36. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
    37. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    38. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    39. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    40. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    41. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    42. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
    42 frames
  3. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:838)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
    2 frames
  4. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446)
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328)
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
    3 frames
  5. Glassfish Core
    LifecycleBase.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4994)
    2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5492)
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    3 frames
  6. org.apache.catalina
    HTMLManagerServlet.doPost
    1. org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1286)
    2. org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:694)
    3. org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:217)
    3 frames
  7. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    2 frames
  8. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    3. org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:213)
    4. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    5. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    5 frames
  9. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  10. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    3. org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
    4. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    5. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    6. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    8. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:612)
    9. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    10. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    11. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
    12. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    13. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
    13 frames
  11. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
    3 frames
  12. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    2 frames
  13. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  14. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame