手把手教你springboot中导出数据到excel中
摘要:转自:https://www.cnblogs.com/zaevn00001/p/13353744.html?utm_source=tuicool 问题来源: 前一段时间公司的项目有个导出数据的需求,要求能够实现全部导出也可以多选批量导出(虽然不是我负责的,我自己研究了研究),我们的项目是xboot前
阅读全文
posted @
2021-06-29 17:21
Sharpest
编辑
Spring Security踩坑记录(静态资源放行异常)
摘要:转自:https://blog.csdn.net/qq_34204490/article/details/110005404 Springboot + Spring-Security的踩坑记录 问题描述:今天使用springboot整合springsecurity,出现静态资源404的状态 解决:
阅读全文
posted @
2021-06-29 17:18
Sharpest
编辑
Can't find bundle for base name
摘要:转自:https://blog.51cto.com/stones/389939 Struts2国际化异常处理 这是找不到指定文件; 你必须把 .properties 文件,放在与这个调用文件.java 相同的目录里; Hello.java在workspace\test\src\com\lj\guoj
阅读全文
posted @
2021-06-29 17:17
Sharpest
编辑
spring-boot-starter-swagger
摘要:转自:https://gitee.com/reger/spring-boot-starter-swagger/
阅读全文
posted @
2021-06-29 17:12
Sharpest
编辑
SpringBoot配置属性之Server
摘要:转自:https://www.cnblogs.com/chen-lhx/p/7592500.html SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之NOSQL SpringBoot配
阅读全文
posted @
2021-06-29 17:11
Sharpest
编辑
springboot之jackson的两种配置方式
摘要:转自:https://www.cnblogs.com/liaojie970/p/9396334.html springboot 针对jackson是自动化配置的,如果需要修改,有两种方式: 方式一:通过application.yml 配置属性说明:## spring.jackson.date-for
阅读全文
posted @
2021-06-29 17:10
Sharpest
编辑
Error querying database. Cause: java.lang.IllegalArgumentException:Failed to decrypt.
摘要:转自:https://blog.csdn.net/lycyl/article/details/88314526 java.lang.IllegalArgumentException:Failed to decrypt 从错误可以看出,解密失败。 原因是你在数据库连接配置的地方,设置了加密。即: co
阅读全文
posted @
2021-06-29 17:07
Sharpest
编辑
Spring Security踩坑记录(静态资源放行异常)
摘要:转自:https://blog.csdn.net/qq_34204490/article/details/110005404 Springboot + Spring-Security的踩坑记录 问题描述:今天使用springboot整合springsecurity,出现静态资源404的状态 解决:
阅读全文
posted @
2021-06-29 17:06
Sharpest
编辑
Spring Cloud系列(二) 应用监控与管理Actuator
摘要:转自:https://blog.csdn.net/WYA1993/article/details/80540981 前言:要想使用Spring Cloud ,Spring Boot 提供的spring-boot-starter-actuator模块是必须了解的,这篇文章就先介绍一下actuator的
阅读全文
posted @
2020-09-22 18:43
Sharpest
编辑
SpringCloud(六)Hystrix配置
摘要:转自:https://www.cnblogs.com/chenss15060100790/p/12638146.html hystrix.command.default和hystrix.threadpool.default中的default为默认CommandKey Execution相关的属性的配
阅读全文
posted @
2020-09-22 18:42
Sharpest
编辑
spring cloud zuul配置详解
摘要:转自:https://blog.csdn.net/qq_29233293/article/details/84891865 spring cloud zuul配置详解 zuul在spring cloud中作为网关存在,主要负责请求的分发,下面详细讲解zuul的所有核心配置(如有不对之处请各位大佬在评
阅读全文
posted @
2020-09-22 18:40
Sharpest
编辑
Spring Cloud Feign使用详解
摘要:转自:https://www.jianshu.com/p/59295c91dde7 通过前面两章对Spring Cloud Ribbon和Spring Cloud Hystrix的介绍,我们已经掌握了开发微服务应用时,两个重要武器,学会了如何在微服务架构中实现客户端负载均衡的服务调用以及如何通过断路
阅读全文
posted @
2020-09-22 18:39
Sharpest
编辑
EasyExcel小试牛刀
摘要:转自:https://www.cnblogs.com/fanerwei222/p/12029411.html 某种偶然的机会遇到了这个插件, 听说很牛X, 我之前也不知道, 不过还是耍了一下子, 遂记录下来. 官方的demo官网都有,传送门 : https://alibaba-easyexcel.g
阅读全文
posted @
2020-09-22 18:32
Sharpest
编辑
springboot中@EnableAsync与@Async注解使用
摘要:转自:https://www.cnblogs.com/UniqueColor/p/9295642.html springboot中@EnableAsync与@Async注解使用 @Async为异步注解,放到方法上,表示调用该方法的线程与此方法异步执行,需要配合@EnableAsync注解使用。 1、
阅读全文
posted @
2020-09-22 16:08
Sharpest
编辑
SpringBoot定时任务@EnableScheduling
摘要:转自:https://www.jianshu.com/p/9d18039c0f08 一、定时任务作用? 定时任务相当于闹钟 在什么时间做什么事情(执行什么命令/脚本) 二、举例说明 1、pom.xml中导入必要的依赖: <parent> <groupId>org.springframework.bo
阅读全文
posted @
2020-09-22 16:06
Sharpest
编辑
SpringCloud中的断路器(Hystrix)和断路器监控(Dashboard)
摘要:转自:https://www.jb51.net/article/163291.htm 前言 本篇主要介绍的是SpringCloud中的断路器(Hystrix)和断路器指标看板(Dashboard)的相关使用知识。 SpringCloud Hystrix Hystrix 介绍 Netflix创建了一个
阅读全文
posted @
2020-09-22 16:05
Sharpest
编辑
SpringBoot - @Configuration、@Bean注解的使用详解(配置类的实现)
摘要:转自:https://www.hangge.com/blog/cache/detail_2506.html 一、基本用法 1,基本介绍 Spring Boot 推荐使用 java 配置完全代替 XML 配置,java 配置是通过 @Configration 和 @Bean 注解实现的。二者作用如下:
阅读全文
posted @
2020-09-22 16:04
Sharpest
编辑
SpringCloud学习系列之一 ----- 搭建一个高可用的注册中心(Eureka)
摘要:转自:https://blog.csdn.net/qazwsxpcm/article/details/80036519?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522159332660519725247658205%2522%252C
阅读全文
posted @
2020-09-22 16:02
Sharpest
编辑
@ConditionalOnMissingBean注解使用案例
摘要:转自:https://blog.csdn.net/weixin_43993065/article/details/106740140 前言 继@Conditional注解后,又基于此注解推出了很多派生注解,比如@ConditionalOnBean、@ConditionalOnMissingBean、
阅读全文
posted @
2020-09-22 16:01
Sharpest
编辑
Spring Cloud Config微研
摘要:转自:https://www.pianshen.com/article/74702246/ spring cloud config server 官方文档在 http://cloud.spring.io/spring-cloud-config/single/spring-cloud-config.h
阅读全文
posted @
2020-09-22 16:00
Sharpest
编辑