6

使用增强模式时将knife4j.enable=true写在配置中心

 2 years ago
source link: https://www.oschina.net/question/2362533_2324961
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

使用增强模式时将knife4j.enable=true写在配置中心

疾风小超人 发布于 今天 10:46

就是我在配置增强模式的时候把配置写在nacos的配置中心了,在编写配置类的时候会有个报错:

Could not autowire. No beans of 'OpenApiExtensionResolver' type found. 

虽然不影响功能,但是有红色波浪线看着总感觉不舒服,这个有什么解决办法么?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK