You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to externalize the location string so that in production a file is created in s3 but in my tests it creates a local file in the current working directory.
My problem is that I can't get Spring to create and write to a local file! I tried switching out the location string to file::myFile but I get java.nio.file.NoSuchFileException
How can I get code just like the one in the writeResource method above to work with the local file system?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Any thoughts on this question? https://stackoverflow.com/q/76069098/3641569
Beta Was this translation helpful? Give feedback.
All reactions