You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Francois Papon (Jira)" <ji...@apache.org> on 2020/07/07 21:22:00 UTC

[jira] [Commented] (SHIRO-784) Error creating bean with name 'org.apache.shiro.spring.web.config.ShiroWebFilterConfiguration': Unsatisfied dependency expressed through field 'filterMap';

    [ https://issues.apache.org/jira/browse/SHIRO-784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17153104#comment-17153104 ] 

Francois Papon commented on SHIRO-784:
--------------------------------------

[~startjava] can you provide more information on what you are trying to do?

> Error creating bean with name 'org.apache.shiro.spring.web.config.ShiroWebFilterConfiguration': Unsatisfied dependency expressed through field 'filterMap'; 
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SHIRO-784
>                 URL: https://issues.apache.org/jira/browse/SHIRO-784
>             Project: Shiro
>          Issue Type: Question
>            Reporter: startjava
>            Priority: Major
>
> 2020-07-07 19:47:38,865 WARN [org.springframework.web.context.support.AnnotationConfigWebApplicationContext] - Exception encountered during context initialization - cancelling refresh attempt: 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)}
>  
> intellij idea open bottom project: 
> shiro-root-1.5.3-source-release\shiro-root-1.5.3\samples\spring-mvc
> show top exception ,,why??thank you !
>  
> shiro 1.5.3 version
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)