錯誤:
Cannot convert value of type [java.lang.String] to required type [org.springframework.web.multipart.MultipartFile] for property ‘xxx’: no matching editors or conversion strategy found]
原因:
檢查form表單屬性是否寫上enctype=“multipart/form-data”
Cannot convert value of type [java.lang.String] to required type [org.springframework.web.multipart.MultipartFile] for property ‘xxx’: no matching editors or conversion strategy found]
檢查form表單屬性是否寫上enctype=“multipart/form-data”