org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'customFilter' defined in URL [jar:file:MyServerLocationMyApp/temp/jetty-0.0.0.0-8080-MyApp.war-_MyApp-any-1665321010066642526.dir/webapp/WEB-INF/lib/user-admin-1.0-RELEASE.jar!/org/qll/app/user_admin/springSecurity/CustomFilter.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.security.web.util.matcher.RequestMatcher]: : No qualifying bean of type [org.springframework.security.web.util.matcher.RequestMatcher] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.security.web.util.matcher.RequestMatcher] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}

Stack Overflow | Q Bhat | 9 months 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

    Spring Boot custom security filter dependency error

    Stack Overflow | 9 months ago | Q Bhat
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'customFilter' defined in URL [jar:file:MyServerLocationMyApp/temp/jetty-0.0.0.0-8080-MyApp.war-_MyApp-any-1665321010066642526.dir/webapp/WEB-INF/lib/user-admin-1.0-RELEASE.jar!/org/qll/app/user_admin/springSecurity/CustomFilter.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.security.web.util.matcher.RequestMatcher]: : No qualifying bean of type [org.springframework.security.web.util.matcher.RequestMatcher] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.security.web.util.matcher.RequestMatcher] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
  2. 0

    [Mifos-developer] Introduction

    Google Groups | 7 months ago | kerick jeff
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/fineract-provider]]
  3. 0

    RC5 - WebSockets-Starter causes failure in WAR deployment

    GitHub | 3 years ago | hoserdude
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'errorPageFilter': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Websockets are currently only supported in Tomcat (found class org.springframework.boot.context.web.ErrorPageFilter)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to start Spring boot Application from Eclipse luna using tomcat 7

    Stack Overflow | 3 years ago | Manu
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'errorPageFilter': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void uk.co.workspacetrail.config.WebConfig.setSpringSwaggerConfig(com.mangofactory.swagger.configuration.SpringSwaggerConfig); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.mangofactory.swagger.configuration.SpringSwaggerConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.util.List com.mangofactory.swagger.configuration.SpringSwaggerConfig.handlerMappings; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: uk/co/workspacetrail/exception/AppnameApplicationException2
  6. 0

    Unable to start Spring boot Application from Eclipse luna using tomcat 7 - Tech Forum Network

    techforumnetwork.com | 1 year ago
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'errorPageFilter': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void uk.co.workspacetrail.config.WebConfig.setSpringSwaggerConfig(com.mangofactory.swagger.configuration.SpringSwaggerConfig); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.mangofactory.swagger.configuration.SpringSwaggerConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.util.List com.mangofactory.swagger.configuration.SpringSwaggerConfig.handlerMappings; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: uk/co/workspacetrail/exception/AppnameApplicationException2

  1. aldrinleal 3 times, last 3 weeks ago
  2. stigkj 2 times, last 2 months ago
  3. tomthomas 1 times, last 4 months ago
  4. treefolk 10 times, last 4 months ago
  5. kjhdofjosvs 2 times, last 4 months ago
10 more registered users
79 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.context.ApplicationContextException

    Unable to start embedded container; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'customFilter' defined in URL [jar:file:MyServerLocationMyApp/temp/jetty-0.0.0.0-8080-MyApp.war-_MyApp-any-1665321010066642526.dir/webapp/WEB-INF/lib/user-admin-1.0-RELEASE.jar!/org/qll/app/user_admin/springSecurity/CustomFilter.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.security.web.util.matcher.RequestMatcher]: : No qualifying bean of type [org.springframework.security.web.util.matcher.RequestMatcher] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.security.web.util.matcher.RequestMatcher] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}

    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh()
  2. Spring Boot
    EmbeddedWebApplicationContext.onRefresh
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:124)
    1 frame
  3. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:474)
    1 frame
  4. Spring Boot
    SpringBootServletInitializer.onStartup
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:109)
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:691)
    3. org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
    4. org.springframework.boot.context.web.SpringBootServletInitializer.run(SpringBootServletInitializer.java:117)
    5. org.springframework.boot.context.web.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:108)
    6. org.springframework.boot.context.web.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:68)
    6 frames
  5. Spring
    SpringServletContainerInitializer.onStartup
    1. org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:175)
    1 frame
  6. Jetty
    XmlConfiguration$1.run
    1. org.eclipse.jetty.plus.annotation.ContainerInitializer.callStartup(ContainerInitializer.java:140)
    2. org.eclipse.jetty.annotations.ServletContainerInitializersStarter.doStart(ServletContainerInitializersStarter.java:65)
    3. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    4. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:274)
    5. org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1343)
    6. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1336)
    7. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
    8. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
    9. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    10. org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41)
    11. org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186)
    12. org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:498)
    13. org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:146)
    14. org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180)
    15. org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64)
    16. org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:609)
    17. org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:528)
    18. org.eclipse.jetty.util.Scanner.scan(Scanner.java:391)
    19. org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313)
    20. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    21. org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150)
    22. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    23. org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:560)
    24. org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:235)
    25. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    26. org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
    27. org.eclipse.jetty.server.Server.start(Server.java:387)
    28. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
    29. org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
    30. org.eclipse.jetty.server.Server.doStart(Server.java:354)
    31. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    32. org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1255)
    32 frames
  7. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  8. Jetty
    XmlConfiguration.main
    1. org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1174)
    1 frame