Knife4j 项目启动不起来OperationDynamicResponseModelProvider,RequestMappingContext.findAnnotation not exists

目录

 

1.错误描述

2.原因

3.解决

4.swagger配置


1.错误描述

 knife4j增强功能,使用@ApiOperationSupport(author = "Benjamin", order = 1)并且使用@EnableKnife4j注解指定作者和排序不起作用,页面不显示,启动项目也可以启动,但是通过配置文件配置knife4j.enable=true报下面错。问题大概的意思就是版本冲突

2023-08-19 14:03:44.088 ERROR 22564 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 

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

Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

    com.github.xiaoymin.knife4j.spring.plugin.OperationDynamicResponseModelProvider.apply(OperationDynamicResponseModelProvider.java:47)

The following method di

你可能感兴趣的:(knife4j,spring,cloud,spring,boot)