The temporary upload location [/tmp/tomcat.4296537502689403143.5000/work/Tomcat/localhost/ROOT] is not valid : <p>I am using Spring Boot 1.5.13 version.</p>

<p>I got the exception message like below.</p>

<pre><code>Could not parse multipart servlet request; nested exception is java.io.IOException: The temporary upload location [/tmp/tomcat.4296537502689403143.5000/work/Tomcat/localhost/ROOT] is not valid
</code></pre>

<p>I founded out this issue in Spring Github Issues. 
<a href="https://github.com/spring-projects/spring-boot/issues/9616" rel="noreferrer">https://github.com/spring-projects/spring-boot/issues/9616</a></p>

<p>But I still have questions of that.</p>

<ol>
<li>I am not using File Upload things in my app. But the log says that "Could not parse multipart servlet request" why is that? (I got the exception when my app uses RestTemplate (Post method)</li>
<li>To solve the exception, I rebooted my app but It did not work right away. Although i rebooted my app, it had referenced the tomcat directory which was not exist. After a day after rebooting, it worked. I guess the directory was cached in somewhere in Spring or else..?</li>
</ol>

<p>Please Help me out!</p>
