Skip to content

Spring 으로 encoder 예제따라하다가 계속 실패하네요ㅠㅠ #3

@Jeong-ki-hun

Description

@Jeong-ki-hun

org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: @configuration class 'AppConfig' contains overloaded @bean methods with name 'encoder'. Use unique method names for separate bean definitions (with individual conditions etc) or switch '@Configuration.enforceUniqueMethods' to 'false'.
Offending resource: class path resource [com/example/springioc/AppConfig.class]

에러 메세지에는 이렇게 나오는데 구글링해도 답이 안나오네요ㅠㅠ

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