thymeleaf
friover
这个作者很懒,什么都没留下…
展开
-
SSM框架导入excel表格,非常简单,需要花五分钟即可使用
1.导入依赖,这里使用的maven,主要使用的是poi3.8,建议用这个版本<dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>3.8</version> </dependency>原创 2020-10-23 10:14:08 · 1289 阅读 · 0 评论 -
springboot整合thymeleaf所需要的注意的点,一个点踩错,一个小时都不一定找的到!
第一点:thymeleaf对html最顶部不支持PUBLIC "-//W3C…"规范解决办法:最好整个去掉第二点:html放在templates里,css和js放在static里,在html文件里引入css和js样式的时候,这样写就行,表示引入的是根目录下(即resources下,可以忽视static)<link type="text/css" rel="stylesheet" th:href="@{/css/style.css}"/><script type="text/ja原创 2020-08-16 23:01:09 · 112 阅读 · 0 评论 -
There was an unexpected error (type=Internal Server Error, status=500). An error happened during tem
对于这种错误,一般只有两种可能,第一是:thymeleaf在前端没有配置,不过说实话,配置这个只是前端写起来有提示,,,,实际上html是可以识别thymeleaf第二就是前端代码多了很多没用的东西,比如,要去掉才行,具体什么原因我也不清楚Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this as a fallback.Sun Aug 16 00:03:52原创 2020-08-16 00:07:32 · 3112 阅读 · 0 评论 -
jar:file:/D:/maven2019/repository/org/thymeleaf/thymeleaf-spring5/3.0.9.RELE
具体原因:> <properties> <java.version>1.8</java.version> <!--切换thymeleaf版本--> <thymeleaf.version>3.0.9.RELEASE</thymeleaf.version> <!-- 布局功能的支持程序 thymeleaf3主程序 layout2以上版本 --> <!-- thymeleaf2 la原创 2020-07-07 23:21:07 · 420 阅读 · 0 评论