I am getting this error when running JUnit test in Eclipse:
Class not found com.myproject.server.MyTest java.lang.ClassNotFoundException: com.myproject.serve
For me I had to put the project x/src/test/java/ at the bottom of the "order and export" in the "java build path"