• 카테고리

    질문 & 답변
  • 세부 분야

    백엔드

  • 해결 여부

    해결됨

spring boot 2.4.1 기준

20.12.29 17:45 작성 조회수 183

0

몇 버전부터 인지는 모르겠으나 2.4.1버전 기준으로는,

        <dependency>
            <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-actuator</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-actuator-autoconfigure</artifactId>
        </dependency>

spring-boot-actuator 의존성 뿐만 아니라

spring-boot-actuator-autoconfigure 의존성을 추가하시고 따라하시면 됩니다. 

답변 1

답변을 작성해보세요.

0

좋은 내용 공유해 주셔서 감사합니다. 정확히는 둘 중에서 spring-boot-starter-actuator만 추가하셔도 됩니다.