Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 my project does exist, I see it in the package explorer!

like image 538
J-Dizzle Avatar asked Apr 16 '14 17:04

J-Dizzle


1 Answers

I have faced the same problem while I was working with raspbian OS for raspberry pi. The problem was the java project was referencing to one of my previous project.

I resolved this problem by doing following steps.

  1. Go to Project->properties
  2. In properties window's left pane select "Run/Debug Settings".
  3. Select "Configure" and click "edit"
  4. In tab "Main" replace Project to your current project.
  5. Select "Main class" by clicking on search button(it will be your class name).
  6. Now hit OK.
like image 126
Hridaynath Avatar answered Oct 20 '22 09:10

Hridaynath