no String-argument constructor/factory method to deserialize from String value ('')
时间: 2023-08-27 08:14:28 浏览: 355
回答: 引用和引用提到的错误信息表明,在反序列化过程中,无法构造一个指定类的实例,因为该类没有一个接受String参数的构造函数或工厂方法。类似地,引用中的错误信息也指出,无法从一个String值进行反序列化,因为目标类没有一个接受String参数的构造函数或工厂方法。所以,这些错误信息表明在反序列化过程中,需要为目标类提供一个可以接受String参数的构造函数或工厂方法,以便正确地从String值中构造实例。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [no String-argument constructor/factory method to deserialize from](https://blog.csdn.net/lgf15279707407/article/details/87629341)[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* [no String-argument constructor/factory method to deserialize from String val](https://blog.csdn.net/qq_30162239/article/details/86647164)[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 ]
阅读全文