-
Notifications
You must be signed in to change notification settings - Fork 40.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Files.createTempDirectory(String, FileAttribute<?>...) for temporary directory creation #23622
Comments
Does |
Yes i have c:\Temp directory and only 1 user exist (i.e Admin) |
Thanks. Unfortunately, I cannot explain the failure in that case. The code that creates the directory is the following: Lines 186 to 198 in a099cd9
We aren't checking the return value of I believe the problem you are seeing is specific to your environment as we haven't had a report from anyone else or seen this failure on our Windows CI. Perhaps you have a virus scanner that scans the newly created file and prevents it from being deleted? Regardless, I think we could improve the diagnostics here while also simplifying the code by switching to |
is there any workaround for this issue? I also face this issue. |
@kaushikrk You can set |
Do i need to set any environment variable for this issue like TEMP folder....? |
The location of temporary files is determined by the |
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
The text was updated successfully, but these errors were encountered: