<span th:text="${o.id} ?: 'no user authenticated'">...</span>
<span th:text="${o.id} ?: _">no user authenticated</span>
<span th:text="${o.id} ?: _">no user authenticated</span>
tymleaf 공식문서 보고 이해 안되거나 애매한 부분들만 건들여보고 있는데
no-operation-token 적용안되는데 이거 왜 안되는거임?
스프링 버전은 최신버전이고, 타임리프 튜토리얼 3.0버전인데,
다른건 다 적용되는데
Cannot resolve '_' 라면서 _ 이거는 적용안되는데 패치되면서 없어진거임?
복붙해도 위에껀 작동하는데, 아래껀 작동안함; ㅅ;;
타임리프 3.0 맞음 .. ?
확인해보니 타임리프버전이 2.6.5네요 ㄱㅅ.. 최신버전은 어디서 깔아야되는지 알아요?
gradle 이면 버전 따로 표기안해도 되지싶은데
https://memo-the-day.tistory.com/142
아니면
여기 참조 ㄱㄱ
gradle이라안되니 머리아프네요.. 버전은 2.6.5맞는디..
dependencies { // ... compile "org.thymeleaf:thymeleaf-spring4:3.0.0.RELEASE" compile "org.thymeleaf:thymeleaf:3.0.0.RELEASE" // ... }
dependency도 뒤져봤는디, 스타터로 되어있고 최신 버전쓰려면 스냅샷이나 M1이라 쓰기 꺼려지네요..;
No candidates found for method call 이렇게 되면서 안되네요 조언 ㄱㅅ요.. compileOnly로 바꿔도 안됨
애초에 3.0 버전 이상부터가 불안정해서 스냅샷으로 둔게 아닐까 하는 ..
참 웃긴게 가이드 버전이 3.0인데 SNAPSHOT 버전이 3.0 이면 어쩌라는 말인지 모르겠음..