IntelliJ想法停留在“正在加载项目”屏幕上

Noo*_*tor 5 ide intellij-idea

除了我现有的错误之外,这是星期一的噩梦!

我有几个项目,我同时使用intellj打开。该项目之一未显示其中的所有目录结构,因此我听取了一些建议并删除了该.idea文件夹。现在,所有地狱都在我身上松散。

我从人类黎明起就被困在这里

Intellij日志

2017-12-04 09:46:59,444 [   9036]   INFO -                git4idea.GitVcs - Git version: 2.14.3.0 
2017-12-04 09:46:59,533 [   9125]   INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [/codebase/plutus] 
2017-12-04 09:47:01,309 [  10901]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 6353 ms 
2017-12-04 09:47:02,913 [  12505]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 4772ms; general responsiveness: ok; EDT responsiveness: 2/5 sluggish, 1/5 very slow 
2017-12-04 09:47:05,252 [  14844]   INFO - ellij.project.impl.ProjectImpl - 18 project components initialized in 52 ms 

# ----- ^^ all good till here, below is when i start open new project


2017-12-04 09:47:26,455 [  36047]   INFO - og4jmonitor.Log4JWindowManager - creating new LoggingReceiver on port:=4454 
2017-12-04 09:47:26,496 [  36088]   INFO - ellij.project.impl.ProjectImpl - 153 project components initialized in 165 ms 
2017-12-04 09:47:26,497 [  36089]   INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms 
2017-12-04 09:47:26,645 [  36237]   INFO - CompilerBackwardReferenceIndex - backward reference index version differ due to: class java.io.FileNotFoundException 
Run Code Online (Sandbox Code Playgroud)

我在屏幕上看到的两个错误是:

在此处输入图片说明

Intellij版本

在此处输入图片说明

任何帮助都会吸引您避免像我这样的星期一早晨忧郁和噩梦的机会!:)
谢谢!

Noo*_*tor 10

所以很明显,解决方案很简单但很难找到,这是它的工作原理:

  1. 关闭intellij中的所有项目,不关闭IDE,仅关闭所有项目。
  2. .idea/从卡住的项目中删除文件夹。
  3. 在intellij中打开相同的项目
  4. File->invalidate caches and restart
  5. 做完了

  • 警告:在运行时,如果使缓存无效,它将破坏所有项目的所有历史记录。 (4认同)

小智 8

.idea从为我工作的项目中删除文件夹。

  • 也有帮助,但必须重新进行所有设置。 (2认同)

小智 5

我认为这是因为Log4JPlugin所见- 在我的情况下也是这里的问题
:删除this(Log4JPlugin)插件并重新启动它->对我有用