In my app, whenever I add @Nullable (which imports from org.springframework.lang.Nullable) to any of the fields, I get a build warning:
Warning:java: unknown enum constant javax.annotation.meta.When.MAYBE reason: class file for javax.annotation.meta.When not found
@NonNull and other null safety annoations from spring compile without any warnings as its implementation doesn't import import javax.annotation.meta.When.
The application runs just fine but the warning is just annoying. I am using spring boot 2.1.0 and java version 1.8.0_191