Open suisuiee opened 1 year ago
타임리프 layout 이 적용이 되지 않았음
layout 을 적용하는 코드가
타임리프 2.xx 버전과 3.xx 버전이 달랐음
decorate
decorator
이전
<!doctype html> <html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:**decorate**="~{layout/default-layout}"> <div layout:fragment="content"> <p>사인 업 !</p> </div> </html>
수정
<!doctype html> <html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decoraer="~{layout/default-layout}"> <div layout:fragment="content"> <p>사인 업 !</p> </div> </html>
오류 내용
타임리프 layout 이 적용이 되지 않았음
오류 원인
layout 을 적용하는 코드가
타임리프 2.xx 버전과 3.xx 버전이 달랐음
decorate
thymeleaf 3.* verdecorator
thymeleaf 2.* ver오류 해결
이전
수정