一、该问题的重现步骤是什么?
1. application.yml
: : : : : blade : blade : : : : : http://localhost : : : POST : : : : Copyright © 2021 BladeX All Rights Reserved : : : : 2.8.0.RELEASE : Powered By DCJT : : : : samllchill : samllchill@163.com : https://gitee.com/smallc
dev、test环境不报错,prod环境启动报如下错误
11:39:36.777 [main] ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter -
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 1 of constructor in org.springblade.common.config.SwaggerConfiguration required a bean of type 'com.github.xiaoymin.knife4j.spring.extension.OpenApiExtensionResolver' that could not be found.
Action:
Consider defining a bean of type 'com.github.xiaoymin.knife4j.spring.extension.OpenApiExtensionResolver' in your configuration.
Disconnected from the target VM, address: '127.0.0.1:56542', transport: 'socket'
Process finished with exit code 1
扫一扫访问 Blade技术社区 移动端