java.io.IOException

java.io.FileNotFoundException: C:\apache-tomcat-7.0.56-windows-x64\apache-tomcat-7.0.56\wtpwebapps\ems\uploads\C:\Users\hello\Pictures\image002.jpg (The filename, directory name, or volume label syntax is incorrect)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2591

  • via Unknown by Unknown author,
  • via Unknown by Unknown author,
  • Stack trace

    • java.io.IOException: java.io.FileNotFoundException: C:\apache-tomcat-7.0.56-windows-x64\apache-tomcat-7.0.56\wtpwebapps\ems\uploads\C:\Users\hello\Pictures\image002.jpg (The filename, directory name, or volume label syntax is incorrect) at org.apache.catalina.core.ApplicationPart.write(ApplicationPart.java:121) at FileUploadServlet.doPost(FileUploadServlet.java:44) at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.FileNotFoundException: C:\apache-tomcat-7.0.56-windows-x64\apache-tomcat-7.0.56\wtpwebapps\ems\uploads\C:\Users\hello\Pictures\image002.jpg (The filename, directory name, or volume label syntax is incorrect) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at org.apache.tomcat.util.http.fileupload.disk.DiskFileItem.write(DiskFileItem.java:377) at org.apache.catalina.core.ApplicationPart.write(ApplicationPart.java:119)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    MattyMatty
    Once,
    AxeloAxelo
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Julien SaabJulien Saab
    Once,
    155 more bugmates