0
点赞
收藏
分享

微信扫一扫

The bean ‘api‘, defined in class path resource [com/szshuwei/fuxiplus/common/swagger/SwaggerAutoConf

SDKB英文 2022-09-20 阅读 63


The bean ‘api‘, defined in class path resource [com/szshuwei/fuxiplus/common/swagger/SwaggerAutoConf_spring


加一个这个注解 spring.main.allow-bean-definition-overriding: true

因为扫描不同的包路径导致的~

然后加上它之后可能还会报其他错误,根据提示来

The bean ‘api‘, defined in class path resource [com/szshuwei/fuxiplus/common/swagger/SwaggerAutoConf_java_02


The bean ‘api‘, defined in class path resource [com/szshuwei/fuxiplus/common/swagger/SwaggerAutoConf_java_03


举报

相关推荐

0 条评论