When having a class implementing org.eclipse.microprofile.health.HealthCheck and using the Startup annotation brought since 3.1 API, Eclipse shows the following warning:
The class com.acme.SomeStartupHealthCheck implementing the HealthCheck interface should use the @Liveness or @Readiness annotation.
@Startup should also be supported!
When having a class implementing
org.eclipse.microprofile.health.HealthCheckand using theStartupannotation brought since 3.1 API, Eclipse shows the following warning:The class
com.acme.SomeStartupHealthCheckimplementing the HealthCheck interface should use the@Livenessor@Readinessannotation.@Startupshould also be supported!