250x250
반응형
Recent Posts
Recent Comments
Link
«   2025/06   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Archives
Today
Total
관리 메뉴

재 현

스프링 could not parse / thymeleaf 오류 본문

Java/Spring

스프링 could not parse / thymeleaf 오류

본명은이점례 2021. 6. 28. 15:54
728x90

<p th:text="'안녕하세요' + ${data}"></p>  이 부분을

<p th:text="${'안녕하세요' + data}"></p> 요렇게 수정하면 되네요

 

 

<참고>

https://stackoverflow.com/questions/16119421/thymeleaf-concatenation-could-not-parse-as-expression

728x90

'Java > Spring' 카테고리의 다른 글

MVC와 템플릿 엔진  (0) 2021.06.29
스프링 빌드  (0) 2021.06.28
스프링 뷰  (0) 2021.06.28
스프링 라이브러리 살펴보기  (0) 2021.06.28
스프링 환경설정  (0) 2021.06.28