• 카테고리

    질문 & 답변
  • 세부 분야

    백엔드

  • 해결 여부

    미해결

localhost:8080/template/layout 호출시 Whitelabel Error가 뜹니다.

24.04.01 16:51 작성 조회수 71

0

(TemplateController)(base.html)(layoutMain.html)(에러화면) 왜 오류가 뜨는지 잘 모르겠습니다

답변 1

답변을 작성해보세요.

0

김영곤님의 프로필

김영곤

2024.04.02

동일한 에러가 발생했는데 해결하여 답변 남겨드립니다.layoutMain.html 파일의 <head> tag 내에 경로를 아래와 같이 수정해보세요.

<head th:replace="template/layout/basic :: common_header(~{::title},~{::link})">