I am getting this error when running JUnit test in Eclipse:
Class not found com.myproject.server.MyTest java.lang.ClassNotFoundException: com.myproject.serve
Might be you forgotten to place the Main class and Test Case class in /src/test/java. Check it Once.