Skip to content

为什么要加MySecretConfig这个类呢? #2

Description

@fortitude001

我也遇到了Autowired annotation is not supported on static fields这个问题,查到您提供的解决方案,但是看得不是很明白。
在项目https://github.com/yqbjtu/springboot/tree/master/CLRDemo中,您为什么要添加MySecretConfig这个类呢?这个类能够起到什么作用呢?

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