Factory method 'okHttpClientBuilder' threw exception; nested exception is java.lang.NoSuchFieldError: Companion
时间: 2023-10-30 21:22:13 浏览: 348
根据引用所提供的信息,问题中出现的异常是`java.lang.NoSuchFieldError: Companion`。这个异常是由于在使用工厂方法`okHttpClient<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [严重: Servlet.service() for servlet jsp threw exception java.lang.UnsupportedClassVersionError: ...](https://download.csdn.net/download/weixin_38535808/14852402)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [记录SpringBoot2.7.3和Minio的okhttp包依赖冲突问题](https://blog.csdn.net/qq_38218135/article/details/128460287)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [jeecg v3.4.4 okhttp3--Error creating bean with name ‘okHttpClientBuilder](https://blog.csdn.net/qq_55326892/article/details/128715262)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文