
Spring Boot 2
蓝壳
从事过Java后端开发、Python机器学习和大数据、C++服务端开发、Qt客户端Linux版,还有一些HTML、CSS、JavaScript等。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Spring Boot 使用Druid连接池
1、在pom.xml下<dependencies>添加项目依赖: <dependency> <groupId>com.alibaba</groupId> <artifactId>druid-spring-boot-starter</artifactId> <ver...原创 2020-05-08 11:20:26 · 1456 阅读 · 0 评论 -
问题解决:This application has no explicit mapping for /error, so you are seeing this as a fallback.
新建MyErrorController(名字随意)类继承ErrorController接口,并实现getErrorPath方法:package com.example.testssm.controller;import org.springframework.boot.web.servlet.error.ErrorController;import org.springframewor...原创 2020-05-07 15:10:47 · 1474 阅读 · 0 评论 -
Spring Boot 2 + Spring Security 5 自定义登录界面
1、在pom.xml下<dependencies>添加项目依赖: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId&g...原创 2020-05-01 12:00:04 · 423 阅读 · 0 评论