The paths in scanBasePackages (com.bank.bankingapp...) do not match the paths in the directory structure (com.bank...)
ScanBasePackages can be removed from the @SpringBootApplication annotation. By default Spring will search everything in the folders under where the config file is.