Use @ConfigurationProperties annotation to report errors

The above is an error, the solution: add a @Component annotation to the annotation

Guess you like

Origin blog.csdn.net/qq_39839828/article/details/104944403