๐น ์๋ฌ
feed/home
์ผ๋ก ๊ฒฝ๋ก๋ณ๊ฒฝ์ ๋์ง๋ง ํ์ด์ง๊ฐ ๋จ์ง ์๋๋ค
๐น ์๋ฌ๋ฉ์์ง
An error happened during template parsing
(template: "class path resource [templates/feed/home.html]")
org.thymeleaf.exceptions.TemplateInputException:
An error happened during template parsing
(template: "class path resource [templates/feed/home.html]")
TemplateInputException
์ด๋๊น html
๋ฌธ์ ์ด๋ค.
- ์ํ๋ฆฌํฐ๋ ์ ์๋ํ๋ ๊ฒ ๊ฐ๋ค.
โ
IllegalArgumentException
โ
layout-decorate must appear in the root element
java.lang.IllegalArgumentException: layout:decorate/data-layout-decorate must appear in the root element of your template
์์ธ && ํด๊ฒฐ
<html>
ํ๊ทธ๊ฐ ๋งจ ์์ ์์ด์ผ์ง~~~!!!!!!!!!!!!!!!!
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorator="pageLayout">
๊ฐ ๋งจ์์ ์์ด์ผ ์ง~!!!!!
- ๊ทผ๋ฐ ๋ฐ๋ณด๊ฐ์ด
<meta>
๋ฅผ ๋งจ ์์ ์ฌ๋ ค๋จ์ผ๋๊น ์๋๋ ๊ฑฐ์ง~~!!!
๊ฐ์ฌํฉ๋๋ค ใ ใ ์ ๋ ๋ฐ๋ณด์ง์ผ๋ก ์๊ฐ ๋ ๋ ธ๋ค์