Alibaba cloud Q & A 2022-02-13 06:45:56 阅读数:371
Linux springboot Upload file error :java.nio.file.NoSuchFileException
Hello! , stay applicaiton.yml(applicaiton.property) Add configuration in :
spring: servlet: multipart: location: /data/tmp
After manually specifying the directory , You must ensure that the directory exists , And have read and write permission , Create the directory mkdir -p /data/tmp
copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130645555011.html