Java clashes with class of same name package

i tried to check there are clearly no java service with a same name inside the folder and the outer directory


also i found another java service with the same name in another folder within the same package
image
this supposed to be fine as long its a different folder right?