RequiredArgsConstructor Not Working — Lombok

Lombok is a joy to use! Sometimes the errors are difficult to understand. If you have a Java class like so:

@Component
@RequiredArgsConstructor
public class MyClass() {
private final User user;
public void myMethod() {
System.out.println(user.getName());
}
}

and you run into an error like:

Error:(36,24) java: variable user might not have been initialized