当前位置:   article > 正文

No qualifying bean of type ‘javax.servlet.Filter‘ available: expected at least 1 bean which qualif_no qualifying bean of type 'javax.servlet.filter'

no qualifying bean of type 'javax.servlet.filter' available: expected at lea

 No qualifying bean of type 'javax.servlet.Filter' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=httpTraceFilter)}

spring-boot 整合 eureka-server 报错,解决:在 pom中天骄 spring-cloud的依赖

  1. <dependencyManagement>
  2. <dependencies>
  3. <dependency>
  4. <groupId>org.springframework.cloud</groupId>
  5. <artifactId>spring-cloud-dependencies</artifactId>
  6. <version>${spring.cloud.version}</version>
  7. <type>pom</type>
  8. <scope>import</scope>
  9. </dependency>
  10. </dependencies>
  11. </dependencyManagement>

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/391606
推荐阅读
相关标签
  

闽ICP备14008679号