spring boot 1.x 版本中thymeleaf报错元素类型 “link” 必须由匹配的结束标记 “</link>” 终止解决办法:

    1.在pom.xml文件中添加:

<dependency>
<groupId>net.sourceforge.nekohtml</groupId>
<artifactId>nekohtml</artifactId>
</dependency>


2.在配置文件中设置:
spring.thymeleaf.mode=LEGACYHTML5

相关文章:

  • 2021-09-26
  • 2021-11-03
  • 2022-12-23
  • 2021-07-16
  • 2021-05-25
  • 2022-12-23
  • 2021-07-31
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
  • 2021-07-05
  • 2021-08-01
  • 2022-12-23
  • 2021-11-20
相关资源
相似解决方案