Maven project not being treated as Java in Eclipse

后端 未结 14 689
星月不相逢
星月不相逢 2021-02-05 04:30

I\'m working on a project that has lots of different Maven projects. I\'ve been doing a bunch of JUnit testing on these projects, and usually this goes well. I open up Eclipse

14条回答
  •  隐瞒了意图╮
    2021-02-05 04:56

    I know that this question was a long time ago...

    I just resolved the issue by these 2 steps below.

    1. run cmd "mvn eclipse:eclipse" in the root directory of the project
    2. right-click on the project in eclipse then select "import as project"

提交回复
热议问题