java后台获取移动端上传图片存数据库问题
如题,现在在做移动端拍照上传图片照片给后台获取方式为@RequestParam(required = false) MultipartFile image,
接收到的image为org.springframework.web.multipart.commons.CommonsMultipartFile@18af0ef ,转byte[]为[B@cfdbb3
数据库为oracle,字段数据类型为BLOB,我存的时候总是报错,错误信息The current request is not a multipart request。
请大神帮小弟出谋划策,万分感谢。。