@SpringBootApplication annotation comes with package scanning and all we don't need to repeat it. On your controllers, add requestpath separately as below,
@RestController()
@RequestMapping("/employees")
public class EmployeeController {
// methods
}
However, if you add ```
@RestController("/employees")```
only to your controllers that won't work.