[spring boot][thymeleaf]spring boot 1.5+ 页面无法找到
来源:互联网 发布:财经论坛 知乎 编辑:程序博客网 时间:2024/05/21 05:23
当页面和程序明确无误后,还是展示出以下错误:
1.[浏览器提示]
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Fri Oct 20 14:11:55 CST 2017
There was an unexpected error (type=Not Found, status=404).
No message available
2.程序console中并没有任何的异常提示。
解决方案:
pom.xml中加入
<properties> <!-- springboot 默认使用thymeleaf的2.0,即:spring-boot-starter-thymeleaf中包含的是thymeleaf2.X springboot1.5.2+需要使用thymeleaf3.X。手动去配置 --> <thymeleaf.version>3.0.2.RELEASE</thymeleaf.version> <thymeleaf-layout-dialect.version>2.0.4</thymeleaf-layout-dialect.version> </properties>
阅读全文
0 0
- [spring boot][thymeleaf]spring boot 1.5+ 页面无法找到
- thymeleaf+spring boot 页面hashmap取值
- spring boot与thymeleaf页面传参两种方式
- [spring-boot] thymeleaf 热交换
- Spring Boot + Gradle + Thymeleaf
- spring boot 整合 thymeleaf
- spring boot vue Thymeleaf
- spring boot thymeleaf 用法
- Spring Boot使用Thymeleaf
- Spring-Boot thymeleaf异常
- spring-boot集成thymeleaf
- Spring Boot整合thymeleaf
- Spring Boot+Spring Security+Thymeleaf
- Spring Boot (三) Spring Boot for thymeleaf
- spring boot thymeleaf 入门 demo
- spring-boot--使用thymeleaf模板
- spring-boot--使用thymeleaf模板
- Spring Boot使用thymeleaf模板
- 盒马创始人侯毅首次解读:盒马是什么
- 2017年含金量最高的机器学习技能或知识有哪些?
- 友盟集成Twitter分享问题
- 设计模式六大原则
- 整数排序 II -LintCode
- [spring boot][thymeleaf]spring boot 1.5+ 页面无法找到
- MongoDB配置参数说明
- Android中判断网络是否可用
- BI项目中的ETL设计详解(数据抽取、清洗与转换)
- [iOS]Swift调用百度地图之概述
- NSTimer 遇上scrollview
- u盘安装centos7
- python 包
- lua面向对象实现的(记)