Spring Boot - REST Controllers
Identify the error in the following Spring Boot controller method:
@GetMapping("/user/{id}")
public String getUser(@PathVariable int userId) {
return "User ID: " + userId;
}