错误信息
Error:Internal error: (java.io.IOException) Cannot create empty file: C:\Users\灏忓徃\AppData\Local\JetBrains\IntelliJIdea2020.1\compile-server\demo_a0b765d7\timestamps\data
java.io.IOException: Cannot create empty file: C:\Users\灏忓徃\AppData\Local\JetBrains\IntelliJIdea2020.1\compile-server\demo_a0b765d7\timestamps\data
at com.intellij.util.io.PersistentEnumeratorBase.<init>(PersistentEnumeratorBase.java:179)
at com.intellij.util.io.PersistentBTreeEnumerator.<init>(PersistentBTreeEnumerator.java:73)
at com.intellij.util.io.PersistentEnumeratorDelegate.<init>(PersistentEnumeratorDelegate.java:58)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:157)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:146)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:137)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:129)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:116)
at org.jetbrains.jps.incremental.storage.AbstractStateStorage.createMap(AbstractStateStorage.java:119)
at org.jetbrains.jps.incremental.storage.AbstractStateStorage.<init>(AbstractStateStorage.java:27)
at org.jetbrains.jps.incremental.storage.FileTimestampStorage.<init>(FileTimestampStorage.java:27)
at org.jetbrains.jps.incremental.storage.ProjectStamps.<init>(ProjectStamps.java:39)
at org.jetbrains.jps.incremental.storage.ProjectTimestamps.<init>(ProjectTimestamps.java:19)
at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:110)
at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:274)
at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:130)
at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:218)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Please perform full project rebuild (Build | Rebuild Project)
解决
右键图标——已管理员身份运行
配置长久生效: 右键属性—快捷方式—高级—勾选用管理员身份运行。
|