idea运行报错Error:Internal error: (java.io.IOException) Cannot create empty

idea刚下载完运行程序报如下错误:

Error:Internal error: (java.io.IOException) Cannot create empty file: C:\Users\poem\.IntelliJIdea2018.3\system\compile-server\javase_be7ab669\timestamps\data
java.io.IOException: Cannot create empty file: C:\Users\poem\.IntelliJIdea2018.3\system\compile-server\javase_be7ab669\timestamps\data
	at com.intellij.util.io.PersistentEnumeratorBase.<init>(PersistentEnumeratorBase.java:175)
	at com.intellij.util.io.PersistentBTreeEnumerator.<init>(PersistentBTreeEnumerator.java:87)
	at com.intellij.util.io.PersistentEnumeratorDelegate.<init>(PersistentEnumeratorDelegate.java:47)
	at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:168)
	at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:157)
	at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:148)
	at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:140)
	at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:133)
	at org.jetbrains.jps.incremental.storage.AbstractStateStorage.createMap(AbstractStateStorage.java:124)
	at org.jetbrains.jps.incremental.storage.AbstractStateStorage.<init>(AbstractStateStorage.java:27)
	at org.jetbrains.jps.incremental.storage.TimestampStorage.<init>(TimestampStorage.java:21)
	at org.jetbrains.jps.incremental.storage.ProjectTimestamps.<init>(ProjectTimestamps.java:35)
	at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:110)
	at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:279)
	at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:135)
	at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:229)
	at org.jetbrains.jps.service.impl.SharedThreadPoolImpl.lambda$executeOnPooledThread$0(SharedThreadPoolImpl.java:42)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	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:830)
Please perform full project rebuild (Build | Rebuild Project)

右键图标管理员身份运行,运行程序能通过的话再在右键属性-快捷方式-高级-勾选用管理员身份运行即可。
idea运行报错Error:Internal error: (java.io.IOException) Cannot create empty_第1张图片

idea运行报错Error:Internal error: (java.io.IOException) Cannot create empty_第2张图片
可能是自动创建的快捷方式打不开,而打开文件所在位置手动创建快捷方式就没有问题啦。

你可能感兴趣的:(IDEA,javase,intellij,idea)