๐ป [WHYGRAM] | [HTML] | IllegalArgumentException , TemplateInputException , feed/home ์ผ๋ก ๊ฒฝ๋ก๋ณ๊ฒฝ์ ๋์ง๋ง ํ์ด์ง๊ฐ ๋จ์ง ์๋๋ค
1657 ๋จ์ด ERR๐R.zipERR๐R.zip
๐น ์๋ฌ
feed/home
์ผ๋ก ๊ฒฝ๋ก๋ณ๊ฒฝ์ ๋์ง๋ง ํ์ด์ง๊ฐ ๋จ์ง ์๋๋ค
๐น ์๋ฌ๋ฉ์์ง
โ
TemplateInputException
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>
๋ฅผ ๋งจ ์์ ์ฌ๋ ค๋จ์ผ๋๊น ์๋๋ ๊ฑฐ์ง~~!!!
Author And Source
์ด ๋ฌธ์ ์ ๊ดํ์ฌ(๐ป [WHYGRAM] | [HTML] | IllegalArgumentException , TemplateInputException , feed/home ์ผ๋ก ๊ฒฝ๋ก๋ณ๊ฒฝ์ ๋์ง๋ง ํ์ด์ง๊ฐ ๋จ์ง ์๋๋ค), ์ฐ๋ฆฌ๋ ์ด๊ณณ์์ ๋ ๋ง์ ์๋ฃ๋ฅผ ๋ฐ๊ฒฌํ๊ณ ๋งํฌ๋ฅผ ํด๋ฆญํ์ฌ ๋ณด์๋ค https://velog.io/@on-n-on-turtle/WHYGRAM-HTML-IllegalArgumentException-TemplateInputException-feedhome-์ผ๋ก-๊ฒฝ๋ก๋ณ๊ฒฝ์-๋์ง๋ง-ํ์ด์ง๊ฐ-๋จ์ง-์๋๋ค์ ์ ๊ท์: ์์์ ์ ๋ณด๊ฐ ์์์ URL์ ํฌํจ๋์ด ์์ผ๋ฉฐ ์ ์๊ถ์ ์์์ ์์ ์ ๋๋ค.
์ฐ์ํ ๊ฐ๋ฐ์ ์ฝํ ์ธ ๋ฐ๊ฒฌ์ ์ ๋ (Collection and Share based on the CC Protocol.)
์ข์ ์นํ์ด์ง ์ฆ๊ฒจ์ฐพ๊ธฐ
๊ฐ๋ฐ์ ์ฐ์ ์ฌ์ดํธ ์์ง
๊ฐ๋ฐ์๊ฐ ์์์ผ ํ ํ์ ์ฌ์ดํธ 100์ ์ถ์ฒ ์ฐ๋ฆฌ๋ ๋น์ ์ ์ํด 100๊ฐ์ ์์ฃผ ์ฌ์ฉํ๋ ๊ฐ๋ฐ์ ํ์ต ์ฌ์ดํธ๋ฅผ ์ ๋ฆฌํ์ต๋๋ค