imported maven project does not appear as java project. Shows folders

后端 未结 15 981
有刺的猬
有刺的猬 2021-02-02 11:01

I checked out the existing project source code from SVN to a folder in my system. Then I opened eclipse. Import Project-> Existing Maven Project.

It imported without iss

15条回答
  •  梦毁少年i
    2021-02-02 11:45

    Possibility is Module doesn't have .classpath.

    Kindly right click on Module and Change Project fact as Java.

    else

    If you are using command Prompt. 1. mvn eclipse:clean 2. mvn eclipse:eclipse

    else

    Delete Project from Eclipse don't delete content from disk. remove .classpath and .project

    Re-import as maven existing Project

提交回复
热议问题