【已解决】ognl.PropertyAccessor
在Spring boot2.x用TemplateEngine处理数据得时候,出现以下错误:
定位到代码行:
解决办法:修改thymeleaf的依赖:
<!-- thymeleaf --><dependency><groupId>org.thymeleaf</groupId><artifactId>thymeleaf</artifactId><version>2.0.16</version></dependency>
重新再跑一次程序,可以看到成功提示