Here I created a small Customer project if the validation fails then it prints a custom message, the @NotNull annotation is working fine but its message is no
@NotNull