본문 바로가기
Java & Spring

Eureka Server 관리 페이지 404에러 발생하는 경우

by superuser 2023. 8. 29.

If your project already uses Thymeleaf as its template engine, the Freemarker templates of the Eureka server may not be loaded correctly. In this case it is necessary to configure the template loader manually:
=> 프로젝트가 이미 Thymeleaf를 템플릿 엔진으로 사용하고 있다면 Eureka 서버의 Freemarker 템플릿이 올바르게 로드되지 않을 수 있습니다. 이 경우 템플릿 로더를 수동으로 구성해야 합니다.

 

application.yml

spring:
  freemarker:
    template-loader-path: classpath:/templates/
    prefer-file-system-access: false

댓글