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

后端 未结 15 997
有刺的猬
有刺的猬 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条回答
  •  时光说笑
    2021-02-02 11:51

    Instead of importing as Existing Maven Project, follow below steps
    I assume that your folder has pom.xml, src/main and src/test.

    Step 1: Right click > Create New > Java Project > Chose the project folder has pom.xml
    Step 2: Right Click on Project > Configure > Convert to Maven project

提交回复
热议问题