Skip to content

can not add the custom securityManager and sessionManager #1

@itboone

Description

@itboone

rror starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-03-09 11:29:54.704 ERROR [main] org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter -


APPLICATION FAILED TO START


Description:

The bean 'securityManager', defined in class path resource [org/crazycake/shiro/ShiroRedisAutoConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [com/xinwei/ucenter/config/ShiroConfiguration.class] and overriding is disabled.

Action:

Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions