Hỏi & Đáp
home.html 연결 문제
저 같은 경우엔 templates에 home.html 추가하고 controller단에 문제가 없는데 클론코딩하면서 비슷한 문제가 발생했었습니다. 알고 보니 thymleaf 를 dependency에 추가하지 않아 발생했었네요.
- Lượt thích
- 0
- Số bình luận
- 2
- Lượt xem
- 561
Hỏi & Đáp
저 같은 경우엔 templates에 home.html 추가하고 controller단에 문제가 없는데 클론코딩하면서 비슷한 문제가 발생했었습니다. 알고 보니 thymleaf 를 dependency에 추가하지 않아 발생했었네요.
Hỏi & Đáp
POM.xml 을 수정하고 작동되었습니다. dependencies > dependency > groupId > org.springframework groupId > artifactId > spring-context artifactId > version > 4.1.0.RELEASE version > dependency > 아래 내용으로 변경해보세요 dependencies > dependency > groupId > org.springframework groupId > artifactId > spring-context artifactId > version > 5.1.6.RELEASE version > dependency > dependencies >