使用@ConfigurationProperties注解报错

上面是错误,解决方法:在该注解上增加一个@Component注解

猜你喜欢

转载自blog.csdn.net/qq_39839828/article/details/104944403