I am getting this error when running JUnit test in Eclipse:
Class not found com.myproject.server.MyTest java.lang.ClassNotFoundException: com.myproject.serve
I had a similar problem with my tests and found somewhere in the Web, that you have to go to Build Path in your project's properties and move Maven Dependencies above JRE System Library. That seems to have worked for me.