当前位置: 代码迷 >> Web前端 >> Caused by: java.io.FileNotFoundException: C:\apache-tomcat-6.0.35\webapps\day20\WEB-INF\upload\二\9\a
  详细解决方案

Caused by: java.io.FileNotFoundException: C:\apache-tomcat-6.0.35\webapps\day20\WEB-INF\upload\二\9\a

热度:1447   发布时间:2013-11-08 17:52:14.0
Caused by: java.io.FileNotFoundException: C:\apache-tomcat-6.0.35\webapps\day20\WEB-INF\upload\2\9\a
已读4096,总大小:149375,第几项:0!!!上传进度=0%
0
已读4096,总大小:149375,第几项:1!!!上传进度=0%
0
已读4096,总大小:149375,第几项:2!!!上传进度=0%
0
已读7530,总大小:149375,第几项:2!!!上传进度=0%
0
已读11584,总大小:149375,第几项:2!!!上传进度=0%
0
已读15060,总大小:149375,第几项:2!!!上传进度=0%
0
已读19114,总大小:149375,第几项:2!!!上传进度=0%
0
已读22590,总大小:149375,第几项:2!!!上传进度=0%
0
已读26644,总大小:149375,第几项:2!!!上传进度=0%
0
已读30120,总大小:149375,第几项:2!!!上传进度=0%
0
已读34174,总大小:149375,第几项:2!!!上传进度=0%
0
已读37650,总大小:149375,第几项:2!!!上传进度=0%
0
已读41704,总大小:149375,第几项:2!!!上传进度=0%
0
已读45180,总大小:149375,第几项:2!!!上传进度=0%
0
已读49234,总大小:149375,第几项:2!!!上传进度=0%
0
已读52710,总大小:149375,第几项:2!!!上传进度=0%
0
已读56764,总大小:149375,第几项:2!!!上传进度=0%
0
已读60240,总大小:149375,第几项:2!!!上传进度=0%
0
已读64294,总大小:149375,第几项:2!!!上传进度=0%
0
已读67770,总大小:149375,第几项:2!!!上传进度=0%
0
已读71824,总大小:149375,第几项:2!!!上传进度=0%
0
已读75300,总大小:149375,第几项:2!!!上传进度=0%
0
已读79354,总大小:149375,第几项:2!!!上传进度=0%
0
已读82830,总大小:149375,第几项:2!!!上传进度=0%
0
已读86884,总大小:149375,第几项:2!!!上传进度=0%
0
已读90360,总大小:149375,第几项:2!!!上传进度=0%
0
已读94414,总大小:149375,第几项:2!!!上传进度=0%
0
已读97890,总大小:149375,第几项:2!!!上传进度=0%
0
已读101944,总大小:149375,第几项:2!!!上传进度=0%
0
已读105420,总大小:149375,第几项:2!!!上传进度=0%
0
已读109474,总大小:149375,第几项:2!!!上传进度=0%
0
已读112950,总大小:149375,第几项:2!!!上传进度=0%
0
已读117004,总大小:149375,第几项:2!!!上传进度=0%
0
已读120480,总大小:149375,第几项:2!!!上传进度=0%
0
已读124534,总大小:149375,第几项:2!!!上传进度=0%
0
已读128010,总大小:149375,第几项:2!!!上传进度=0%
0
已读132064,总大小:149375,第几项:2!!!上传进度=0%
0
已读132064,总大小:149375,第几项:3!!!上传进度=0%
0
已读135540,总大小:149375,第几项:3!!!上传进度=0%
0
已读139594,总大小:149375,第几项:3!!!上传进度=0%
0
已读143070,总大小:149375,第几项:3!!!上传进度=0%
0
已读147124,总大小:149375,第几项:3!!!上传进度=0%
0
已读149375,总大小:149375,第几项:3!!!上传进度=100%
1
name=的地方是
127.0.0.1上传了a00302b8-4aa9-4bba-9d23-cf062be1dd2f_large_EjDu_5286000068c2118f.jpg
java.io.FileNotFoundException: C:\apache-tomcat-6.0.35\webapps\day20\WEB-INF\upload\2\9\a00302b8-4aa9-4bba-9d23-cf062be1dd2f_large_EjDu_5286000068c2118f.jpg (系统找不到指定的路径。)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at com.itheima.tfy.servlet.UploadServlet1.doGet(UploadServlet1.java:74)
at com.itheima.tfy.servlet.UploadServlet1.doPost(UploadServlet1.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.itheima.tfy.filter.NoCacheCharacterEncodingFilter.doFilter(NoCacheCharacterEncodingFilter.java:43)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
at java.lang.Thread.run(Thread.java:619)
2013-1-13 23:35:03 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet UploadServlet1 threw exception
java.lang.RuntimeException: java.io.FileNotFoundException: C:\apache-tomcat-6.0.35\webapps\day20\WEB-INF\upload\2\9\a00302b8-4aa9-4bba-9d23-cf062be1dd2f_large_EjDu_5286000068c2118f.jpg (系统找不到指定的路径。)
at com.itheima.tfy.servlet.UploadServlet1.doGet(UploadServlet1.java:98)
at com.itheima.tfy.servlet.UploadServlet1.doPost(UploadServlet1.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.itheima.tfy.filter.NoCacheCharacterEncodingFilter.doFilter(NoCacheCharacterEncodingFilter.java:43)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException: C:\apache-tomcat-6.0.35\webapps\day20\WEB-INF\upload\2\9\a00302b8-4aa9-4bba-9d23-cf062be1dd2f_large_EjDu_5286000068c2118f.jpg (系统找不到指定的路径。)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at com.itheima.tfy.servlet.UploadServlet1.doGet(UploadServlet1.java:74)
... 18 more
  相关解决方案