Why “no projects found to import”?

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

    Reason : your ID is not able to find the .project file. This happens in git commit where many time people don't push .project file

    Solution : If you have maven install then use following stapes

    1. mvn eclipse:clean
    2. mvn eclipse:eclipse

    Enjoy!

提交回复
热议问题