![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
沉默的猫小弟
闭关学习中
展开
-
解决 thymeleaf 中th 爆红
出现这种情况一般是头命名空间缺少。解决办法:在html中添加这两行就行xmlns="http://www.w3.org/1999/xhtml"xmlns:th="http://www.thymeleaf.org"为了方便复制我已经把尖括号去掉了,省的复制粘贴错误,因为我昨天就犯了这样的错误。????...原创 2020-02-18 11:18:58 · 4397 阅读 · 1 评论 -
idea怎样导入Thymeeaf模板引擎,以及遇到的不能下载依赖的问题解决方法
一、导入thymeleafidea中thymeleaf的导入非常简单,就是将thymeleaf依赖加入到pom.xml文件中即可。1、Thymeleaf 官网:https://www.thymeleaf.org/2、Thymeleaf 在Github 的主页:https://github.com/thymeleaf/thymeleaf3、Spring官方文档:“https://do...原创 2020-02-17 11:16:24 · 4272 阅读 · 1 评论 -
Springboot 静态资源的导入
有以下几种方式1.webjars localhost:8080/webjars/目录2.resources ; static ;public ;/** 映射的是 localhost :8080/resources或者 static或者public其中优先级关系:resources>stasic(默认)>public一般将静态资源放到stati...原创 2020-02-15 14:54:39 · 399 阅读 · 0 评论