IntelliJ IDEA Ultimate项目加载问题 [英] IntelliJ IDEA Ultimate project loading issue

查看:477
本文介绍了IntelliJ IDEA Ultimate项目加载问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,今天早上我像往常一样做了一些编程后关闭了IntelliJ(2017.3.3),一切都很顺利。现在,当我尝试打开我的任何项目时,这是我受到欢迎的观点:

So, today in the morning I closed down IntelliJ(2017.3.3) after doing some programming as usual and everything worked great. Now suddenly when I try to open any of my projects this is the view I am greeted with:

搜索后这个问题的解决方案我设法通过以下步骤使项目工作:

After searching for a solution for this issue I managed to get the projects working by doing the following steps:


  1. 文件 - >项目结构 - >模块 - > + - >导入 - >项目.iml文件

  2. 文件 - >项目结构 - >项目 - >项目SDK - >我的案例中的Java 8

  3. 文件 - >项目结构 - >项目 - >项目语言级别 - > 8

  4. 文件 - >项目结构 - >项目 - >项目编译器输出 - >输出文件夹的路径特定项目(从D:\到它的整个路径)

  5. 导航到项目结构中的Main类,并使用alt + enter将其添加到运行配置中。

  6. 最终能够运行项目

  1. File -> Project Structure -> Modules -> + -> Import -> The project .iml file
  2. File -> Project Structure -> Project -> Project SDK -> Java 8 in my case
  3. File -> Project Structure -> Project -> Project language level -> 8
  4. File -> Project Structure -> Project -> Project compiler output -> The path to the out folder of the specific project(the whole path from D:\ to it)
  5. Navigate to Main class in project structure and alt+enter to add it to run configurations.
  6. Finally able to run the project

现在,如果我不得不这样做,配置损坏或发生任何事情,这将是好的,但我必须每次打开一个项目由于某种原因这样做。我尝试重新启动我的电脑,重新安装2017.3.3,安装2018.1,问题仍然存在,无论我做什么。此外,在上述任何方案,步骤,安装等中都没有与此问题相关的明显错误。

Now this would be fine if I had to do it once, configuration corruption or whatever happens, but I have to do this every single time I open a project for some reason. I tried restarting my PC, reinstalling 2017.3.3, installing 2018.1 and the issue persists whatever I do. Also there were no visible errors in relation to this issue in any of the above scenarios, steps, installs and so on.

推荐答案

事实证明,问题与我使用OneDrive备份我的数据有关。我假设OneDrive在某些时候更新并激活了文件按需。 此处记录了该问题。对我个人来说,一个有效的解决方案是:

Well it turns out the issue was related to me using OneDrive to backup my data. I assume OneDrive updated at some point and activated Files On-Demand. The issue is documented here. For me personally a solution that worked was:


  1. 右键单击OneDrive托盘图标

  2. 点击设置

  3. 点击设置标签

  4. 停用 保存空间并在使用时下载文件 文件点播下的选项。

  5. 等待文件完全同步,IntelliJ项目加载恢复正常。

  1. Right click the OneDrive tray icon
  2. Click settings
  3. Click the settings tab
  4. Disable the Save space and download files as you use them option under Files On-Demand.
  5. Wait for your files to sync up completely, IntelliJ project load is back to normal.

这篇关于IntelliJ IDEA Ultimate项目加载问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆