自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 资源 (2)
  • 收藏
  • 关注

原创 防止接口按钮重复点击方案

接口重复点击

2024-06-21 13:01:25 194

原创 excel单元格多级联动

【代码】excel单元格多级联动。

2024-05-14 19:26:17 120

原创 Activemq 使用

activemq 使用

2023-11-25 15:04:25 82

原创 本地 vm - xshell 互通

vm-xshell 连接

2022-12-11 16:43:07 169 1

原创 如何去除Springboot 自动配置日志

提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档文章目录前言如何去除Springboot 自动配置日志一、使用了Springboot 自己的日志二、使用了Springboot 配置的logback.xml or log4j2 的日志总结前言如何去除Springboot 自动配置日志提示:以下是本篇文章正文内容,下面案例可供参考一、使用了Springboot 自己的日志logging:org:springframework:boot:autoconfigure:lo.

2022-05-29 13:56:54 1694

原创 项目报错:class lombok.javac.apt.lombokprocessor (in unnamed module @0x43b1dd26) cannot access class 解决方法

项目报错:class lombok.javac.apt.lombokprocessor (in unnamed module @0x43b1dd26) cannot access class 解决方法解决:打开idea 项目设置设置JdK 版本

2022-05-06 19:26:37 2478

原创 【无标题】

这个maven 库真好使 nicehttps://search.maven.org/search?q=mybatis

2022-05-03 17:15:20 76

转载 【无标题】

1、是springboot 整合 activeMq查了网上各种出现此错误的解决办法,都是手动创建connectionFactory并创建JmsTemplate相关Bean对象。但是这种方式治标不治本。既然spring boot官方有整合ActiveMQ的相关方法,不可能会要求用户自己手动去创建相关的Bean对象的。此处个人进行了相关的分析并给出了对应解决办法:通过查看日志(以上截取的有这段日志):JmsAutoConfiguration:Did not match:- @ConditionalOn

2022-05-03 17:10:08 752

转载 Spring中接口的bean是如何注入,@service 为什么不能用在interface上

1、Spring中接口的bean是如何注入的大家都知道@Service注入的是实现类serviceImpl,那使用时怎么能获取到接口,而且还能调用到实现类的方法。其中只注入了实现类serviceImpl的bean,接口只是用来接收的。这里就要说到@Autowired/@Resource的注入原理:@Autowired是Spring的注解,Autowired默认先按byType,如果发现找到多个bean,则再按照byName方式比对,如果还有多个bean,则报错Caused by: org.spring

2022-05-03 15:39:22 2833 1

原创 springboot单体服务框架

介绍项目用到的一些框架/服务:数据库: mybatis缓存: Redis权限框架 :Spring SecurityORM框架 :maybatis接口文档 : swagger3http://localhost:9999/api/swagger-ui/index.html你能从这个项目中学习到什么?Spring Security +JWT 实现登入登出以及权限校验swagger3.0整合mybatis整合redis整合rocketMQspringbootfilterinte

2021-10-21 19:15:19 323

原创 linux中redis安装及使用

1、Ftp上传redis-5.0.10.tar.gz 包,解压 (-zxvf)2、修改配置文件 redistribution.config后台运行3、启动redis服务根据redis.config配置方式启动4、启动客户端

2021-08-22 22:36:29 105

原创 Redis使用

首先下载Windows下的Redis服务端文件。并解压,如下图:redis-server.exe 用于启动redis服务redis-cli.exe 提供操作命令的客户端redis-check-aof.exe redis内置的用于数据持久化的备份工具redis-benchmark.exe redis内置用与性能测试的工具可视化界面:安装:RedisDesktopManager使用时先启动redis服务...

2021-08-22 22:05:21 96

原创 Redis 介绍

Redis 介绍redis是NOSQL数据库,基于内存的、它支持多种数据结构,底层采用单线程和多路复用I/O模型,QPS可以达到100000+。Redis存储基本数据了类型。

2021-08-22 21:42:24 85

原创 JwtAuthorizationFilter config

package github.javaguide.springsecurityjwtguide.security.filter;import github.javaguide.springsecurityjwtguide.security.common.constants.SecurityConstants;import github.javaguide.springsecurityjwtguide.security.common.utils.JwtTokenUtils;import io.jsonw

2021-07-17 23:45:48 551

原创 JwtAuthenticationFilter config

/**验证用户名密码正确后 生成一个token并将token返回给客户端@author huwei*/public class JwtAuthenticationFilter extends UsernamePasswordAuthenticationFilter {private final StringRedisTemplate stringRedisTemplate;private final AuthenticationManager authenticationManager;

2021-07-17 23:44:21 2151

原创 springSecurity配置(整合jwt)

springsecurtty config/**@author shuang.kou Saving@version 1.1@date 2020.11.28 14:16@description Spring Security配置类**/@EnableWebSecurity@EnableGlobalMethodSecurity(prePostEnabled = true)public class SecurityConfiguration extends WebSecurity

2021-07-17 23:15:22 350

原创 redisTemplate首次使用

如何配置自定义的redisTemplate@Configurationpublic class RedisConfig { /** * 核心配置就是配置 值的序列化方法 * * @param factory * @return */ @Bean public RedisTemplate<String, Object> redisTemplate(RedisConnectionFactory factory) {

2021-01-31 15:49:15 117

spring-security-jwt-guide.zip

springboot+security+jwt+redis+quartz

2021-08-23

自改造lenosp.zip

lenosp代码分析

2021-08-22

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除