![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
随笔
文章平均质量分 97
烟火里看不见你的笑脸
一个小白的成长
展开
-
SpringBoot集成shiro实现认证和授权
shiro介绍请移步shiro官网1.创建springboot项目使用spring初始化器创建即可2.引入相关依赖<!-- shiro依赖 --><dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-spring-boot-starter</artifactId> <version>1.5.3</version>原创 2020-08-03 11:21:03 · 166 阅读 · 0 评论 -
Spring Cloud Gateway基础配置及跨域配置
一、介绍Spring Cloud Gateway是Spring Cloud 的一个子项目,该项目基于Spring5.x、SpringBoot2.x技术版本进行编写,意在提供简单方便、可扩展的统一API路由管理方式。二、Gateway相关概念Route(路由): 路由是网关的基本单元,由ID、URI、一组Predicate(断言),一组Filter(过滤器)组成,请求会根据断言进行转发,同时也会根据相关的过滤器进行处理。Predicate(断言):路由进行转发的条件,符合条件后会将请求转发到URI配原创 2020-08-03 10:21:24 · 906 阅读 · 0 评论 -
分布式项目搭建nacos注册中心、服务注册与发现和远程服务调用
一、创建maven总工程pom.xml<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apach原创 2020-08-03 10:17:27 · 1450 阅读 · 0 评论 -
使用MyBatisPlus代码生成和druid集成的问题
错误日志如下:2020-07-29 17:46:47.767 ERROR 6976 --- [nio-8553-exec-2] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.spring原创 2020-08-03 10:12:17 · 343 阅读 · 0 评论