Home  >  Q&A  >  body text

java - idea导入git项目出现的问题

idea导入git项目后文件标红了

导入项目后控制台的提示
Unknown Natures Detected

     Imported projects contain unknown natures:
     。。。。
     Some settings may be lost after import.

导入时的选项

PHP中文网PHP中文网2741 days ago928

reply all(6)I'll reply

  • 高洛峰

    高洛峰2017-04-18 09:55:37

    Right click on the project directoryjava make directory as...

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-18 09:55:37

    Is it imported by idea?

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-18 09:55:37

    You have not set lib

    reply
    0
  • 阿神

    阿神2017-04-18 09:55:37

    Is it a maven project? If you run the command from the terminal:

    mvn idea:idea

    Or use idea to open pom.xml directly

    reply
    0
  • 黄舟

    黄舟2017-04-18 09:55:37

    What project are you importing? Eclipse or maven? If it is neither, it will be more troublesome. . .

    reply
    0
  • PHPz

    PHPz2017-04-18 09:55:37

    Do you have the .git file of your project?

    reply
    0
  • Cancelreply