Can you include the full error message and stack trace? What does your code look like?
On Tue, Jul 7, 2020 at 5:19 AM 一直以来 <279377...@qq.com> wrote: > 2020-07-07 17:06:56,149 ERROR > [org.springframework.web.context.ContextLoader] - Context initialization > failed > org.springframework.beans.factory.UnsatisfiedDependencyException: Error > creating bean with name > 'org.apache.shiro.spring.web.config.ShiroWebFilterConfiguration': > Unsatisfied dependency expressed through field 'filterMap'; nested > exception is > org.springframework.beans.factory.NoSuchBeanDefinitionException: No > qualifying bean of type 'java.util.Map<java.lang.String, > javax.servlet.Filter>' available: expected at least 1 bean which qualifies > as autowire candidate. Dependency annotations: > {@org.springframework.beans.factory.annotation.Autowired(required=true)} > at > org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:643) > > why??thank you ! >