Knife4j文档请求异常
时间: 2023-11-13 07:55:25 浏览: 101
httpclient+knife4j.zip
根据引用,当没有添加@Configuration时,会导致Knife4j文档请求异常。这意味着在启动项目时,如果尝试访问Knife4j接口请求文档,可能会出现错误。为了解决这个问题,你可以添加@Configuration注解来配置Knife4j。此外,根据引用,你可以通过访问localhost:8888/doc.html来访问Knife4j文档。如果你对Knife4j更感兴趣,可以参考引用提到的一篇博文,其中介绍了Knife4j swagger的更多内容。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [全网多种方式解决Knife4j文档请求异常](https://blog.csdn.net/lvoelife/article/details/129057354)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *3* [swagger文档以及knife4j文档](https://download.csdn.net/download/m0_66884848/85069553)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文