解决办法

需要把 src 目录标志为 Source Root——

src 目录上点右键,选择 Mark Directory As -> Sources Root

IntelliJ IDEA 不能识别 Java 项目

.java 文件的图标会发生改变:

IntelliJ IDEA 不能识别 Java 项目



EDIT

Project Structure 里修改output path

Press Ctrl+Alt+Shift+S

IntelliJ IDEA 不能识别 Java 项目

参考

[http://stackoverflow.com/questions/30088957/intellij-doesnt-recognize-java-project-after-cloning](IntelliJ doesn't recognize java project after cloning)

相关文章:

  • 2022-12-23
  • 2021-12-12
  • 2021-12-29
  • 2021-12-15
  • 2021-12-26
  • 2021-11-28
  • 2021-11-28
  • 2021-11-28
猜你喜欢
  • 2022-12-23
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
  • 2021-06-17
  • 2021-05-10
相关资源
相似解决方案