jorchen 发表于 2022-1-13 11:53:23

启动Gateway应用JeecgGatewayApplication 报错:DynamicResponseModelReader

2022-01-13 11:40:23.495 WARNo.s.b.w.r.c.AnnotationConfigReactiveWebServerApplicationContext:559 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dynamicResponseModelReader' defined in URL : Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'springfox.documentation.schema.TypeNameExtractor' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
2022-01-13 11:40:23.528 INFOo.s.b.a.l.ConditionEvaluationReportLoggingListener:136 -

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-01-13 11:40:23.675 ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 -

***************************
APPLICATION FAILED TO START
***************************

Description:

Parameter 0 of constructor in com.github.xiaoymin.knife4j.spring.plugin.DynamicResponseModelReader required a bean of type 'springfox.documentation.schema.TypeNameExtractor' that could not be found.


Action:

Consider defining a bean of type 'springfox.documentation.schema.TypeNameExtractor' in your configuration.


Process finished with exit code 1


jorchen 发表于 2022-1-13 12:01:12

有大神可以帮忙看看么??
页: [1]
查看完整版本: 启动Gateway应用JeecgGatewayApplication 报错:DynamicResponseModelReader