外勤助手APP点里面的任务<<提交>>按钮,服务器不接受请求,javaEE的日志报如下错误,请问老师如何解决~
发表在Android图书答疑 2017-11-19 悬赏:2 学分 《Android从入门到精通(项目案例版)》第25章外勤助手
是否精华
版块置顶:

严重: Servlet.service() for servlet [springMvc] in context with path [/outHelp] threw exception [Request processing failed; nested exception is org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested exception is org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Unexpected EOF read on the socket] with root cause

java.io.EOFException: Unexpected EOF read on the socket

at org.apache.coyote.http11.InternalNioInputBuffer.fill(InternalNioInputBuffer.java:152)

at org.apache.coyote.http11.InternalNioInputBuffer$SocketInputBuffer.doRead(InternalNioInputBuffer.java:177)

at org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:110)

at org.apache.coyote.http11.AbstractInputBuffer.doRead(AbstractInputBuffer.java:364)

at org.apache.coyote.Request.doRead(Request.java:476)

at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:344)

at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:395)

at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:369)

at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:190)

at org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStream.java:999)

at org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:903)

at java.io.InputStream.read(Unknown Source)

at org.apache.commons.fileupload.util.Streams.copy(Streams.java:100)

at org.apache.commons.fileupload.util.Streams.copy(Streams.java:70)

at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:347)

at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:115)

at org.springframework.web.multipart.commons.CommonsMultipartResolver.parseRequest(CommonsMultipartResolver.java:156)

at org.springframework.web.multipart.commons.CommonsMultipartResolver.resolveMultipart(CommonsMultipartResolver.java:139)

at org.springframework.web.servlet.DispatcherServlet.checkMultipart(DispatcherServlet.java:1047)

at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:892)

at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)

at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:915)

at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:822)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)

at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:796)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Unknown Source)


分享到:
精彩评论 8
三生石
学分:2171 LV10
TA的每日心情
11
2018-12-20 21:21:04
2017-11-20
沙发

您好读者!请问web端使用的是jdk1.7的版本吗??

15211913827
学分:29 LV2
2017-11-20
板凳

是1.7jdk,

已经登陆了,进去APP时,点任务里面的<提交>按钮,就出现以上错误 ,还有好几个地方一点就出现上面的错误 ,表示服务器没有接受请求,如何解决

三生石
学分:2171 LV10
TA的每日心情
11
2018-12-20 21:21:04
2017-11-22
地板

您好读者!工程会在这一两天的时间内,写一篇有关外勤助手的帮助文档。帮助读者快速搭配后台并运行成功!

15211913827
学分:29 LV2
2017-11-22
4L

好的,谢谢老师,麻烦写好了,发一份下载连接地址给我,谢谢~

三生石
学分:2171 LV10
TA的每日心情
11
2018-12-20 21:21:04
2017-11-23
5L

您好读者!由于系统更新,外勤助手app端源代码已经进行修改!这里您下载一下然后再进行测试!

FieldAssistant(修改后源码).rar


zhazha
学分:3 LV1
2018-06-16
6L

三生石 发表于2017-11-23 14:32

您好读者!由于系统更新,外勤助手app端源代码已经进行修改!这里您下载一下然后再进行测试!

FieldAssistant(修改后源码).rar


同样是点击任务上传不了任务


请问是web后台源码问题吗

QQ截图20180616021308.png


zhazha
学分:3 LV1
2018-06-16
7L

zhazha 发表于2018-06-16 02:13

同样是点击任务上传不了任务


请问是web后台源码问题吗

QQ截图20180616021308.png


我运行这个源码登陆进去提交新任务同样报这个error

zhazha
学分:3 LV1
2018-06-16
8L

zhazha 发表于2018-06-16 14:11

我运行这个源码登陆进去提交新任务同样报这个error

是什么原因导致上传新任务时上传错误呢

首页上一页 1 下一页尾页 8 条记录 1/1页
手机同步功能介绍
友情提示:以下图书配套资源能够实现手机同步功能
明日微信公众号
明日之星 明日之星编程特训营
客服热线(每日9:00-17:00)
400 675 1066
mingrisoft@mingrisoft.com
吉林省明日科技有限公司Copyright ©2007-2022,mingrisoft.com, All Rights Reserved长春市北湖科技开发区盛北大街3333号长春北湖科技园项目一期A10号楼四、五层
吉ICP备10002740号-2吉公网安备22010202000132经营性网站备案信息 营业执照