1
Launch configuration TestPanel references non-existing project NLDoc.

I installed latest Eclipse on Ubuntu, and import a Maven project. Building the project is fine. However, when in Eclipse I click "Run as->TestPanel", I received the above error.

I did some search and tried the following solution:

Project properties -> run/debug settings -> New -> Java Application

And then select my project name, and the main class, but it still not solving the project.

What could be other causes? I am using Oracle JDK8

EDIT:

Unfortunately, this is not a duplication, since i import my project as a Maven project, so it's already a Java project. Also, when I click "project properties" and followed the steps, I also verified it's a Java project.

So, it seems a similar problem but different causes.And this is exactly what I am asking. Hopefully somebody else encountered the same issue.

Cœur
  • 37,241
  • 25
  • 195
  • 267
marlon
  • 6,029
  • 8
  • 42
  • 76
  • Possible duplicate of [Eclipse -- Testng references non-existing project XXX, launch configuration](https://stackoverflow.com/questions/23116556/eclipse-testng-references-non-existing-project-xxx-launch-configuration) – vahdet Mar 05 '19 at 08:31
  • It's a similar issue, but due to different causes. I did a lot of searches and tried suggested, but didn't work. BTW, my project is imported as a Maven project. – marlon Mar 05 '19 at 08:40
  • Look in the 'Project References' page of the project Properties – greg-449 Mar 05 '19 at 08:40
  • I have 4 projects with some dependencies, and I was trying to run one of them. In 'Project References', it displays the other 3 projects, which seems right. – marlon Mar 05 '19 at 08:43
  • I came across your question in review queue. I no longer uses eclipse so I cannot provide much help. But from your question I seems can't extract much useful information. Even with my limited experience with eclipse, I have encountered similiar issue with 3 different cause, ranging from broken maven plugins to accidental `grep xxx -r .`. Guessing and listing them all would not be a pleasant experience, not something efficient either. Perhaps a screenshot on your launch configurations would help those more experienced (than me) to answer your specific problem? – glee8e Mar 05 '19 at 13:08

0 Answers0