gpt4 book ai didi

intellij-idea - 无法使用 Intellij 进行编译

转载 作者:行者123 更新时间:2023-12-03 11:10:07 24 4
gpt4 key购买 nike

我正在试用 JetBrains IntelliJ IDEA 12.0.4,但在编译程序时遇到了问题。
当我运行程序时,出现以下错误:

Internal error: (java.io.FileNotFoundException) \domain.local\usersfolders\roberth\.IntelliJIdea12\system\compile-server\hibernate_test_1ad22f80\timestamps\data (The system cannot find the path specified)
java.io.FileNotFoundException: \domain.local\usersfolders\roberth\.IntelliJIdea12\system\compile-server\hibernate_test_1ad22f80\timestamps\data (The system cannot find the path specified)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at com.intellij.util.io.PagedFileStorage.resizeFile(PagedFileStorage.java:324)
at com.intellij.util.io.PagedFileStorage.resize(PagedFileStorage.java:308)
at com.intellij.util.io.ResizeableMappedFile.resize(ResizeableMappedFile.java:72)
at com.intellij.util.io.ResizeableMappedFile.<init>(ResizeableMappedFile.java:46)
at com.intellij.util.io.PersistentBTreeEnumerator.<init>(PersistentBTreeEnumerator.java:76)
at com.intellij.util.io.PersistentEnumeratorDelegate.<init>(PersistentEnumeratorDelegate.java:38)
at com.intellij.util.io.PersistentEnumeratorDelegate.<init>(PersistentEnumeratorDelegate.java:31)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:137)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:133)
at org.jetbrains.jps.incremental.storage.AbstractStateStorage.createMap(AbstractStateStorage.java:122)
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:21)
at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:90)
at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:181)
at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:102)
at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:107)
at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:26)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
这发生在 RunDebug .我需要更改什么设置以更正用于将它们更改为本地类路径和目录的路径?

最佳答案

您的用户主目录似乎位于网络驱动器上,即 unsupported by IntelliJ

In some environments user's home directory is located on the mapped network drive which is unacceptable for IntelliJ IDEA. You'll notice the huge performance degradation. You may also want to move system directory to the faster or larger drive partition.



您应该复制 IDEA_HOME\bin\idea.properties到您的主目录并调整以下路径,以便它们指向本地目录:
  • idea.config.path
  • idea.system.path
  • idea.plugins.path

  • 有关更多详细信息,请参阅上面的链接。如果您不想丢失已配置的所有内容,只需移动 \domain.local\usersfolders\roberth\.IntelliJIdea12到本地文件夹。

    关于intellij-idea - 无法使用 Intellij 进行编译,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15386291/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com