Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-10-27 22:05:20.134 ERROR 10600 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : ***************************
APPLICATION FAILED TO START
*************************** Description: An attempt was made to call a method that does not exist. The attempt was made from the following location: org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration$ThymeleafDefaultConfiguration.templateEngine(ThymeleafAutoConfiguration.java:142) The following method did not exist: org.thymeleaf.spring5.SpringTemplateEngine.setRenderHiddenMarkersBeforeCheckboxes(Z)V The method's class, org.thymeleaf.spring5.SpringTemplateEngine, is available from the following locations: jar:file:/E:/java/Maven/javaMaven/org/thymeleaf/thymeleaf-spring5/3.0.9.RELEASE/thymeleaf-spring5-3.0.9.RELEASE.jar!/org/thymeleaf/spring5/SpringTemplateEngine.class The class hierarchy was loaded from the following locations: org.thymeleaf.spring5.SpringTemplateEngine: file:/E:/java/Maven/javaMaven/org/thymeleaf/thymeleaf-spring5/3.0.9.RELEASE/thymeleaf-spring5-3.0.9.RELEASE.jar
org.thymeleaf.TemplateEngine: file:/E:/java/Maven/javaMaven/org/thymeleaf/thymeleaf/3.0.9.RELEASE/thymeleaf-3.0.9.RELEASE.jar Action: Correct the classpath of your application so that it contains a single, compatible version of org.thymeleaf.spring5.SpringTemplateEngine Process finished with exit code 1

解决办法:

<properties>
<java.version>11</java.version>
<!-- 布局功能的支持程序 thymeleaf3主程序 layout2以上版本 -->
<!-- thymeleaf2 layout1-->
<thymeleaf-spring5.version>3.0.9.RELEASE</thymeleaf-spring5.version>
<thymeleaf-layout-dialect.version>2.2.2</thymeleaf-layout-dialect.version>
</properties>

最新文章

  1. 使用Ruby来实现批量更新AD中字段
  2. for循环
  3. Oracle数据库,用户的创建及表的创建
  4. 高性能JavaScript(您值得一看)
  5. Java中反射机制和Class.forName、实例对象.class(属性)、实例对象getClass()的区别
  6. ASP.NET MVC 中@Html.Partial,@Html.Action,@Html.RenderPartial,@Html.RenderAction差别
  7. MySQL索引背后的数据结构及最左原则
  8. Error configuring application listener of class 报错 解决
  9. struts2国际化相关问题
  10. MySQL中横表和竖表相互转换
  11. HTTP1.0和HTTP1.1的区别
  12. 文件的基本管理和XFS文件系统备份恢复
  13. jQuery AJAX 方法 success()后台传来的4种数据
  14. Badge
  15. route 的标志位
  16. 设计模式之Facade(外观)(转)
  17. ajax POST跨域请求完美解决
  18. pycharm安装激活及简单设置
  19. 关于防SQL注入敏感词过滤问题
  20. GCC参数使用

热门文章

  1. python初学者-判断一个数是否为素数
  2. python3参考秘籍-附PDF下载
  3. svn怎么上传文件
  4. Mac苹果电脑单片机开发
  5. 宿主机网络中其它机器与Docker容器网络互通配置
  6. jstat gcutil
  7. eclips如何安装jetty插件
  8. ABP vNext 审计日志获取真实客户端IP
  9. vue的favicon.ico的不能修改替换问题解决。
  10. LinkedList 的 API 与数据结构