使用 ajaxFileupload 异步上传文件,报错 org.eclipse.jetty.io.EofException: early EOF
日志信息:
java.lang.RuntimeException: org.eclipse.jetty.io.EofException: early EOF
at com.jfinal.upload.MultipartRequest.wrapMultipartRequest(MultipartRequest.java:123)
at com.jfinal.upload.MultipartRequest.<init>(MultipartRequest.java:68)
at com.jfinal.core.Controller.getFiles(Controller.java:767)
at com.jfinal.core.Controller.getFile(Controller.java:772)
at com.oss.project.ProjectController.ajaxUploaddemo1(ProjectController.java:166)
看了源码 是 com.oreilly.servlet 创建 报错
multipartRequest = new com.oreilly.servlet.MultipartRequest(request, uploadPath, maxPostSize, encoding, fileRenamePolicy);
不知大家是否遇到过,需要如何处理 ?
项目:JFinal