Eclipse — Testng references non-existing project XXX, launch configuration

前端 未结 11 1083
陌清茗
陌清茗 2020-12-09 17:22

When trying to run a test as a TestNG suite, I would get a very cryptic error message saying that TestNG can\'t launch because it references a non-existant project. I think

11条回答
  •  离开以前
    2020-12-09 17:58

    I know this is an old post, but I hit this recently when I moved to using a MacBook Pro.

    When I created a new Eclipse workspace and loaded all of my projects from the SCM, I got these Ant failures due to referencing an non-existing project.

    The solution was not easy to discover, but the solution is simple: Change your Ant run configuration's JRE to run in the same JRE as the workspace.

    You DO NOT need to change your build projects to Java projects.

提交回复
热议问题