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

后端 未结 15 971
有刺的猬
有刺的猬 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

    0 讨论(0)
  • 2021-02-02 11:51

    Here is my solution please close the Project Explorer at the left top and open again. (or) 1). Right Click on your miscellaneous project and choose project Explorer if available.

    0 讨论(0)
  • 2021-02-02 11:56

    I also faced a similar issue. I resolved it by downloading the correct apache maven plugins in the maven repository org / apache/ Maven/ plugins. IN my case, everything was working fine earlier and I had deleted .m2 repository completely. After that I started getting these issues with same iDE and newer IDE versions as well. The pom.xml showed error related to lifecycle mappings. On downloading the correct plugin, the workspace worked fine.

    0 讨论(0)
提交回复
热议问题