I have to check whether my service / app works or not.
I've added dependency
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
<version>2.6.2</version>
</dependency>
and also tried to add management.endpoint.health.show-details: always
to application.yml
but it didn't help.
I tried to go to http://localhost:8080/actuator/health
, http://localhost:8080/health
but it returned 404 error.