Consider defining a bean of type 'xxxxxx' in your configuration.

解决:

在Application类上新增
@EnableConfigurationProperties({ xxxxxx.class})

posted @ 2022-08-29 10:24  人间春风意  阅读(5)  评论(0编辑  收藏  举报