Skip to content

[백엔드] 배포 서버 도커 이미지 실행 불가 #243

@Jjiggu

Description

@Jjiggu

이슈 내용

  • 자바 17.0.2 버전에서 cGroup이 맞지 않아 도커 이미지 실행 불가.

  • 에러메시지 전문
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processorMetrics' defined in class path resource [org/springframework/boot/actuate/autoconfigure/metrics/SystemMetricsAutoConfiguration.class]: Failed to instantiate [io.micrometer.core.instrument.binder.system.ProcessorMetrics]: Factory method 'processorMetrics' threw exception with message: Cannot invoke "jdk.internal.platform.CgroupInfo.getMountPoint()" because "anyController" is null

작업 목록

  • 자바 버전 21으로 업그레이드

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions