title: Spring actuator's liveness and readiness are returning 404
body: <p>So this is my configuration in application.yaml:</p>
  <pre><code>management:
    endpoint:
      health:
        show-details: &quot;ALWAYS&quot;
        probes:
          enabled: true
    endpoints:
      enabled-by-default: true
      web:
        exposure:
          include: metrics, health, caches, restart
  </code></pre>
  <p>And according to documentations this should be enough for enabling liveness and readiness probe for a spring application. But the endpoints (<code>/actuator/health/liveness</code> and <code>/actuator/health/readiness</code>) are still returning 404. I tried many combinations in the config, but nothing works. Can you please tell me what to do about this?</p>