0
我在想我的對象轉移到template.Here的一個錯誤,當春Thymleaf.I'm有一個問題是新:無法解析爲表達
org.thymeleaf.exceptions.TemplateProcessingException:
Could not parse as expression: "$(payments.comment)" (user/profile:13)
能不能幫我一點點。謝謝大家。
我在想我的對象轉移到template.Here的一個錯誤,當春Thymleaf.I'm有一個問題是新:無法解析爲表達
org.thymeleaf.exceptions.TemplateProcessingException:
Could not parse as expression: "$(payments.comment)" (user/profile:13)
能不能幫我一點點。謝謝大家。
您正在使用括號:
$(payments.comment)
使用大括號代替:
${payments.comment}
注意{}
是不一樣的()
正是如此,非常感謝! –
當然是 非常感謝 –
如果您將代碼作爲文本而不是屏幕截圖包含在其他人中,會更好/更容易。問題可能是您使用'$(...)'而不是'$ {...}'作爲payments.comment – Philipp