Folder structure should not result in this issue. Please make sure that your class path configurations are like shown below :