Two points
First
Check your Project Properties->Java Build Path->Libraries (tab)
. JUnit should be there although this usually will show up in the build.
Check you Project's Run Configurations->JUnit->Classpath (tab
). JUnit should be under User Entries for your project.
Second
Check you have below plugins
org.eclipse.xtext.xbase.junit
org.junit (3.8.2)
org.junit (4.8.2)
[EDIT] This got me on the right track. To fix the error make sure you have org.junit 3.8 in the target platform!
Explanation: The error above means that Eclipse itself couldn't start. It seems that the JUnit runner has a dependency on JUnit 3.8. It won't be used but without it, the whole platform can't be initialized.
You can see whether you have the same problem by looking at the stack trace: Does it contain RemotePluginTestRunner.main
?
To fix the error, add the org.junit 3.8 bundle to your target platform.