Docker deployed springboot project, file path problem not found

one of the functions in my project is to write the data processed at the back end to the front end of excel, for download. There is no problem when writing data. However, when downloading, the backend reports the following error:

but the path and file can be found on the console. And consistent with the path of the error report.
who has encountered such a problem and how to solve it?

Mar.10,2021
The

problem has been resolved. Docker does not recognize the linux physical path. Write a file name directly to the path. Then determine whether the path exists, and if not, the system creates one. So docker can identify it.


what does it mean to write the path directly into a file name

Menu