jsp表单中有文件,springMVC不能自动封装成对象

加了@RequestPart("file")MultipartFile也还是不行
Field error in object 'student' on field 'bikePicture': rejected value [org.springframework.web.multipart.commons.CommonsMultipartFile@6d233e01]; codes [typeMismatch.student.bikePicture,typeMismatch.bikePicture,typeMismatch.java.lang.String,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [student.bikePicture,bikePicture]; arguments []; default message [bikePicture]]; default message [Failed to convert property value of type 'org.springframework.web.multipart.commons.CommonsMultipartFile' to required type 'java.lang.String' for property 'bikePicture'; nested exception is java.lang.IllegalStateException: Cannot convert value of type 'org.springframework.web.multipart.commons.CommonsMultipartFile' to required type 'java.lang.String' for property 'bikePicture': no matching editors or conversion strategy found]]
请问应该怎么解决呢