Issue with IntelliJ iDEA
已回答
I bought a new laptop not a while ago and tried to download the IntelliJ IDEA, but there is a problem while my first project is building. Though on my PC with similar settings on JDK and Path it is working with no issues. I thought it is because a cirillic symbols in my paths, but i reinstalled everything on a C disk and had a similar problem. Already waste 4 days to fix it but no success( Help me please.(UPD: i have UTF-8 and correct region)
Internal error (java.nio.file.AccessDeniedException): C:\Users\Николай
java.nio.file.AccessDeniedException: C:\Users\Николай
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.createDirectory(WindowsFileSystemProvider.java:521)
at java.base/java.nio.file.Files.createDirectory(Files.java:700)
at java.base/java.nio.file.Files.createAndCheckIsDirectory(Files.java:807)
at java.base/java.nio.file.Files.createDirectories(Files.java:793)
at com.intellij.util.io.ResizeableMappedFile.ensureParentDirectoryExists(ResizeableMappedFile.java:186)
at com.intellij.util.io.ResizeableMappedFile.<init>(ResizeableMappedFile.java:68)
at com.intellij.util.io.PersistentBTreeEnumerator.<init>(PersistentBTreeEnumerator.java:105)
at com.intellij.util.io.PersistentEnumerator.createDefaultEnumerator(PersistentEnumerator.java:68)
at com.intellij.util.io.PersistentMapImpl.<init>(PersistentMapImpl.java:138)
at com.intellij.util.io.PersistentMapBuilder.buildImplementation(PersistentMapBuilder.java:62)
at com.intellij.util.io.PersistentMapBuilder.build(PersistentMapBuilder.java:44)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:39)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:54)
at org.jetbrains.jps.incremental.storage.AbstractStateStorage.createMap(AbstractStateStorage.java:116)
at org.jetbrains.jps.incremental.storage.AbstractStateStorage.<init>(AbstractStateStorage.java:29)
at org.jetbrains.jps.incremental.storage.FileTimestampStorage.<init>(FileTimestampStorage.java:27)
at org.jetbrains.jps.incremental.storage.ProjectStamps.<init>(ProjectStamps.java:28)
at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:102)
at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:333)
at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:179)
at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:218)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Please perform full project rebuild (Build | Rebuild Project)
请先登录再写评论。
Try changing the location of each IDE default directory to something that does not contain your user name. See this help page for details and instructions.
Also make sure that the aforementioned default directories, IDE installation folder and project files are excluded from the Antivirus scan. For more information on how to do it, see help articles one and two.