): no String-argument constructor/factory method to deserialize from String value ('ss')
时间: 2023-10-20 12:27:01 浏览: 157
这个错误是由于无法从字符串值('ss')中反序列化为字符串参数构造器或工厂方法的实例而引起的。在这种情况下,需要为该类添加一个接受字符串参数的构造函数或工厂方法,以便能够将字符串值转换为相应的类型。如果您无法修改该类的代码,可能需要考虑使用其他方法来处理这个错误,比如使用其他日期时间库或者自定义转换器来处理日期时间字符串的反序列化。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [LocalDateTime不能反序列化的问题](https://blog.csdn.net/qq_28301007/article/details/109637443)[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: 50%"]
- *2* [通过Jackson的String转joda.DateTime的采坑记录](https://blog.csdn.net/coder_what/article/details/103788967)[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: 50%"]
[ .reference_list ]
阅读全文