Why “no projects found to import”?

后端 未结 11 1774
臣服心动
臣服心动 2020-12-02 04:39

I am trying to \"import existing project into workspace\". As the \"root directory\" I select the directory where all my .java (and .class) files are located. Eclipse writes

11条回答
  •  不思量自难忘°
    2020-12-02 05:26

    This answer is same as Laura's answer , however, in new eclipse versions you will not be able to see a "create project from existing source" option.

    Hence you can do this instead:

    • Goto File > New > Project

    • Select the type of project, click Next

    • Uncheck Use default location

    • Click on Browse to navigate to your source folder, or type in the path to your source

    • Click Finish

    Taken from this discussion forum in eclipse.org

提交回复
热议问题