RuntimeException: MemberAccess implementation must be provided
问题 I am using a template which accesses public fields of a Customer object like this: <div> <div th:text="${customer.addressee}"></div> <div th:text="${customer.street}"></div> <div th:text="${customer.postalCode}, ${customer.city}"></div> <div th:text="${customer.country}"></div> </div> However, as I am calling process() on the TemplateEngine : templateEngine.process(String.format("invoice/%s.html", locale), context); I am getting this error: Caused by: java.lang.ClassNotFoundException: ognl