intellij 타임리프 th is not bound 에러 해결
- Web
- 2022. 11. 17.
반응형
반응형
해결 방법
: hover 했을 때 나오는 Create namespace declaration을 클릭해주면, 윗부분에 xmlns:th="http://www.w3.org/1999/xhtml" 이 추가가 된다.
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<!doctype html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Doc</title>
</head>
<body>
<h1>Home</h1>
<h3 th:text="${welcome}"></h3>
</body>
</html>
반응형
'Web' 카테고리의 다른 글
Static Site Generation (0) | 2023.01.22 |
---|---|
CSR vs SSR비교 (0) | 2023.01.21 |
[Vue.js] permission denied, mkdir '/usr/local/lib/node_modules/@vue' 에러 해결방법 (0) | 2023.01.09 |
intellij 파일트리 마침표 (0) | 2023.01.08 |
intellij hot-deploy (0) | 2022.12.01 |