Failed to create a directory while creating a new project
已回答
I am using Intellij IDEA community 2018.2.6. I am trying to create a new spring boot project. During the creation of new project only, I get an error
"Failed to create directory "C:/Programfiles/Java"
I am quite unsure what is happening here. I was using the IDEA with a sample maven project and it worked. After 10min, when i wanted to use the spring boot env, it throws me an error.
any lead would be helpful
请先登录再写评论。
Do you have write permissions in this directory? Try creating a new project in a new empty directory.
If the issue persists, please provide the exact steps to reproduce it.
If on Windows, try turning off Ransomware protection that might block access to the folder.
IntellJ does't have the right to create anything.To solve it, Right Click on IntellJ icon and click on " Run as Adminastrator " .
Run IntelliJ with administrative authority :)