I am getting this error when running JUnit test in Eclipse:
Class not found com.myproject.server.MyTest java.lang.ClassNotFoundException: com.myproject.serve
Making some dummy change and saving the test class can solve the problem. It will build the .class automatically