If class "yeaimmad" is in package "mad" -as opposed to package "ocjp2.mad", then it should be in C:\mad, not C:\ocjp2\mad (which is how I understood your directory layout to be). The directory hierarchy needs to be the same as the package hierarchy.
Joined: Jun 01, 2013
Thanks! You helped me solve
But actually my desired directory hierarchy is unchanged
How I fixed issue is change yeaimmad.java package name