`

spring boot无法读取html、jsp页面

阅读更多

直接使用springboot发现读取页面的时候,会报错:

This application has no explicit mapping for /error

 

其实处理办法很简单,只需要在gradle加入以下依赖即可:

compile("org.springframework.boot:spring-boot-starter-thymeleaf")

 

分享到:
评论

相关推荐

    spring boot读取Excel操作示例

    主要介绍了spring boot读取Excel操作,结合实例形式详细分析了spring boot解析、读取Excel相关操作技巧,需要的朋友可以参考下

    spring boot+mybatis+jsp

    spring boot使用mybatis和jsp页面实现mvc, spring boot使用mybatis和jsp页面实现mvc,spring boot使用mybatis和jsp页面实现mvc

    Spring boot访问jsp页面

    使用spring boot访问jsp页面,以及使用maven的插件,mybatis逆向生成mapper,model,*.xml。

    spring boot 整合Mybatis web jsp可直接运行

    spring boot整合mybatis web项目,代码非常整洁干净,无多余代码,内含一张表的读取操作,及建表语句,非常适合初学者。解压后用IntelliJ IDEA打开,然后导入表user_t,修改下数据库连接的配置,改成自己本机的,即可...

    spring boot 整合jsp与mybatis

    spring boot 整合jsp与mybatis框架,可导入之后直接运行。

    spring boot 42讲配套源码.zip

    第 2-2 课 Spring Boot 项目中使用 JSP/spring-boot-jsp 第 2-3 课 模板引擎 Thymeleaf 基础使用/spring-boot-thymeleaf 第 2-4 课 模板引擎 Thymeleaf 高阶用法/spring-boot-thymeleaf 第 2-5 课 Thymeleaf 页面...

    Spring boot 示例 官方 Demo

    spring-boot-helloWorld:spring-boot的helloWorld版本 spring-boot-mybaits-annotation:注解版本 spring-boot-mybaits-xml:xml配置版本 spring-boot-mybatis-mulidatasource:springboot+mybatis多数据源最简解决...

    Spring Boot 2 Recipes

    获取Spring Boot 2微框架的可重用代码配方和代码段 了解Spring Boot 2如何与其他Spring API,工具和框架集成 访问Spring MVC和新的Spring Web Sockets,以实现更简单的Web开发 使用微服务进行Web服务开发并与Spring ...

    Beginning Spring Boot 2

    Beginning Spring Boot 2 Beginning Spring Boot 2 Beginning Spring Boot 2

    spring boot mybatis jsp

    spring boot mybatis jsp

    基于 Spring Boot + MySQL 开发的博客系统源码.zip

    基于 Spring Boot + MySQL 开发的博客系统源码 基于 Spring Boot + MySQL 开发的博客系统源码 基于 Spring Boot + MySQL 开发的博客系统源码 基于 Spring Boot + MySQL 开发的博客系统源码 基于 Spring ...

    基于spring boot餐厅管理系统源码.zip

    基于spring boot餐厅管理系统源码 基于spring boot餐厅管理系统源码 基于spring boot餐厅管理系统源码 基于spring boot餐厅管理系统源码 基于spring boot餐厅管理系统源码 基于spring boot餐厅管理系统源码 ...

    从零开始学Spring Boot

    1.27 Spring Boot环境变量读取和属性对象的绑定 1.28 Spring Boot使用自定义的properties 1.29 改变自动扫描的包 1.30 Spring Boot Junit单元测试 1.31 SpringBoot启动时的Banner设置 1.32 Spring boot 文件上传(多...

    Spring cloud和Spring boot介绍

    Spring Boot简化了基于Spring的应用开发,通过少量的代码就能创建一个独立的、产品级别的Spring应用。Spring Boot为Spring平台及第三方库提供开箱即用的设置,这样你就可以有条不紊地开始。多数Spring Boot应用只...

    Spring Boot 2.X 实战教程.pdf

    本课程内容包括Spring简介、Spring Boot简介、安装JDK、安装Maven、第一个...页面)、安装MySQL数据库和客户端、配置数据源、Spring Data JPA代码、Spring Data JPA增删改查实例、安装Redis和可视化客户端、Redis缓存...

    Beginning Spring Boot 2 Applications and Microservices with the Spring Framework

    This book will help you understand what Spring Boot is, how Spring Boot helps you build Spring-based applications quickly and easily, and the inner workings of Spring Boot using easy-to-follow ...

    Spring Boot Examples

    Spring boot使用的各种示例,以最简单、最实用为标准 spring-boot-helloWorld:spring-boot的helloWorld版本 spring-boot-mybaits-annotation:注解版本 spring-boot-mybaits-xml:xml配置版本 spring-boot-...

    spring boot jsp mvc jpa hibernate mysql 示例 sample

    spring boot jsp mvc jpa hibernate mysql 示例 sample

    Pro Spring Boot 2第2版-2009-EPUB版

    Pro Spring Boot 2: An Authoritative Guide to Building Microservices, Web and Enterprise Applications, and Best Practices Quickly and productively develop complex Spring applications and microservices...

Global site tag (gtag.js) - Google Analytics