Bom dia galera Ao tentar savar o sumarioPath, erro HTTP 500 ocorre.
Apr 02, 2019 10:28:55 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [dispatcher] in context with path [/casadocodigo] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: java.io.IOException: java.io.FileNotFoundException: C:\Users\Lenovo\workspace-springMVC\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\casadocodigo\arquivos-sumario\Vinicius Mariano da Rocha.pdf (The system cannot find the path specified)] with root cause
java.io.FileNotFoundException: C:\Users\Lenovo\workspace-springMVC\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\casadocodigo\arquivos-sumario\Vinicius Mariano da Rocha.pdf (The system cannot find the path specified)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at org.apache.tomcat.util.http.fileupload.disk.DiskFileItem.write(DiskFileItem.java:400)
at org.apache.catalina.core.ApplicationPart.write(ApplicationPart.java:120)
.................