I'm trying to in corporate Spring Actuator to my application. I have added the dependency in my pom.xml:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
<version>1.4.2.RELEASE</version>
</dependency>
But I get a 404 when trying to access the /health
endpoint. After looking online, I've read that I need to also have the spring-boot-starter-web
dependency in my POM. I was under the assumption that I only need the actuator dependency in order to get it working