Unable to compile with Intellij

后端 未结 7 730
小鲜肉
小鲜肉 2021-01-31 18:40

I\'m giving JetBrains IntelliJ IDEA 12.0.4 a spin and have run into an issue when compiling programs. When I run a program I get the following error:

Internal err         


        
相关标签:
7条回答
  • 2021-01-31 19:02

    i got the below error in windows env:

    Error:Internal error: (com.intellij.util.io.PersistentEnumeratorBase$CorruptedException) PersistentEnumerator storage corrupted C:\Users>.IntelliJIdea14\system\compile-server\cmx_cdc441bb\aj\aspect_path.dat

    and deleted the .dat file located at the above path and my jetbrain IDE started compiling all the classes and problem got resolved.

    0 讨论(0)
  • 2021-01-31 19:04

    I had the same issue with OSX. What I did is just recreate the directory where IntelliJ caches compiled classes.

    0 讨论(0)
  • 2021-01-31 19:08

    I had the exact same problem. So I edited the IDEA_HOME\bin\idea.properties file and uncommented:

    • idea.config.path
    • idea.system.path
    • idea.plugins.path
    • idea.log.path

    Then I removed the ${user.home} from the idea.config.path and idea.system.path and everything worked fine.

    0 讨论(0)
  • 2021-01-31 19:14

    The following steps worked for me:

    1. Close IntelliJ IDEA
    2. Edit IDEA_HOME\bin\idea.properties to contain the following lines:

      idea.config.path=C:/Users/<yourUsername>/.IdeaIC/config
      idea.system.path=C:/Users/<yourUsername>/.IdeaIC/system
      
    3. Open IntelliJ IDEA

      • now the .IdeaIC folder (specified above) is created automatically and it has the following structure:

        .IdeaIC
           - config
           - system
        
    0 讨论(0)
  • 2021-01-31 19:15

    This Error may encounter in IntellijIdea if you try to use some language-specific keywords as your class name or object name. In my case once I got a similar kind of error on using the reserved keywords.

    Some options to fix the issue:

    • Look for the language-specific keyword usage as a class/object name in your codebase.
    • Try to invalidate the cache and restart from the File Menu
    • Reimport the project from the source by recreating the .idea directory.
    0 讨论(0)
  • 2021-01-31 19:20

    It seems that your user home is located on a network drive, which is 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.

    You should copy IDEA_HOME\bin\idea.properties to your home directory and adjust the following paths so that they point to local directories instead:

    • idea.config.path
    • idea.system.path
    • idea.plugins.path

    See the above link for further details. If you don't want to lose everything you already configured, just move \domain.local\usersfolders\roberth\.IntelliJIdea12 to a local folder.

    0 讨论(0)
提交回复
热议问题