Why “no projects found to import”?

后端 未结 11 1787
臣服心动
臣服心动 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:27

    One solution to this is to use Maven. From the project root folder do mvn eclipse:clean followed by mvn eclipse:eclipse. This will generate the .project and .classpath files required by eclipse.

提交回复
热议问题