@AdaptBy(type = UploadAdaptor.class, args = {"ioc:imageUpload"})
用这个标注后,如果通过ajax提交数据,没有文件上传抛出
2017-03-27 11:58:49,499 org.nutz.mvc.adaptor.AbstractAdaptor.adapt(AbstractAdaptor.java:231) INFO - Adapter Error catched , but I found AdaptorErrorContext param, so, set it to args,
and continue
java.lang.RuntimeException: org.nutz.mvc.upload.UploadException: Unknow Content-Type : application/json;charset=UTF-8
at org.nutz.lang.Lang.wrapThrow(Lang.java:181)