美文网首页
Spring boot + thymeleaf in Intel

Spring boot + thymeleaf in Intel

作者: 安易学车 | 来源:发表于2020-03-11 15:12 被阅读0次

使用IntelliJ 创建html时,在使用thymeleaf 时,在我们html出现错误波浪线,并且访问时解析错误,此时我们可以声明xmlns进行兼容处理,如下:

<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

相关文章

网友评论

      本文标题:Spring boot + thymeleaf in Intel

      本文链接:https://www.haomeiwen.com/subject/jkecjhtx.html