I am getting this error when running JUnit test in Eclipse:
Class not found com.myproject.server.MyTest java.lang.ClassNotFoundException: com.myproject.serve
It can also be due to "[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?"