java.lang.RuntimeException: 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]: : springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)

Stack Overflow | Q Bhat | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Spring Boot custom security filter dependency error

    Stack Overflow | 8 months ago | Q Bhat
    java.lang.RuntimeException: 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]: : springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
  2. 0

    cxf-user - web service goes down (for no apparent reason)

    nabble.com | 1 year ago
    java.lang.RuntimeException: Invalid schema document passed to > AbstractDataBinding.addSchemaDocument, not in W3C schema namespace

    Root Cause Analysis

    1. java.lang.RuntimeException

      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]: : springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)

      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor()
    2. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1131)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1034)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
      5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
      6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
      8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
      8 frames
    3. Spring Boot
      EmbeddedWebApplicationContext.getServletContextInitializerBeans
      1. org.springframework.boot.context.embedded.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:176)
      2. org.springframework.boot.context.embedded.ServletContextInitializerBeans.addAsRegistrationBean(ServletContextInitializerBeans.java:141)
      3. org.springframework.boot.context.embedded.ServletContextInitializerBeans.addAsRegistrationBean(ServletContextInitializerBeans.java:136)
      4. org.springframework.boot.context.embedded.ServletContextInitializerBeans.addAdaptableBeans(ServletContextInitializerBeans.java:119)
      5. org.springframework.boot.context.embedded.ServletContextInitializerBeans.<init>(ServletContextInitializerBeans.java:69)
      6. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.getServletContextInitializerBeans(EmbeddedWebApplicationContext.java:216)
      6 frames