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