Failed to convert value of type ‘java.lang.String‘ to required type ‘java.time.LocalDate‘(親測可用)

springboot jdbc查詢使用LocalDate報:Failed to convert value of type ‘java.lang.String’ to required type ‘java.time.LocalDate’; 解決辦法: 添加該註解即可通過日期查找記錄: @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
相關文章
相關標籤/搜索