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 fixed my issue by running maven update. Right click project your project > Maven > Update Project