![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring boot
文章平均质量分 87
herionZhang
这个作者很懒,什么都没留下…
展开
-
spring cloud 中使用jasypt-spring-boot-starter 配合Nacos进行配置加密
引入pom加密配置Nacos中配置IDEA 配置验证原创 2021-07-08 15:59:33 · 4729 阅读 · 0 评论 -
Spring Boot 推送告警信息到 Alertmanager
Spring Boot 推送告警信息到 Alertmanager代码如下:package com.legends.process.engine;import org.springframework.http.HttpEntity;import org.springframework.http.HttpHeaders;import org.springframework.http.HttpMethod;import org.springframework.http.ResponseEntity;原创 2020-12-02 13:45:21 · 1089 阅读 · 1 评论 -
IDEA 2020.2 +Gradle 6.6.1 + Spring Boot 2.3.4 创建多模块项目
环境介绍IDEA我用的是2020.2Gradle安装参考 Gradle安装配置我这安装的是6.6.1C:\Users\herion>gradle -v------------------------------------------------------------Gradle 6.6.1------------------------------------------------------------Build time: 2020-08-25 16:29:原创 2020-09-29 16:46:30 · 1112 阅读 · 0 评论 -
Spring boot 2.3.4 Spring Boot plugin requires Gradle 5 (5.6.x only) or Gradle 6 (6.3 or later).he cu
异常信息Build file 'D:\legends_workspace\gradle-parent\build.gradle' line: 40A problem occurred evaluating root project 'gradle-parent'.> Failed to apply plugin [id 'org.springframework.boot'] > Spring Boot plugin requires Gradle 5 (5.6.x only) or原创 2020-09-28 18:19:12 · 5786 阅读 · 0 评论 -
maven项目与gradle项目比较
基于spring boot 创建maven项目创建maven项目打开idea,并点击Creat New Project修改Group(般是公司域名)和Artifact(项目名称),选择type为maven选择develop tools 中所有包和web 中 spring web创建 gradle 项目与maven项目创建主要区别在上面步骤2,创建gradle 项目type选择 gradle即可maven 与gradle 依赖对比gradle依赖的粒度控制相较于Maven也更原创 2020-09-24 11:30:45 · 1739 阅读 · 0 评论 -
FlywayException: Validate failed: Detected resolved migration not applied to database: 1.0.020190110
flyway 新老版本兼容异常 Validate failed: Detected resolved migration not applied to database异常信息2019-01-11 17:20:52.680 INFO 32204 --- [ main] utoConfigurationReportLoggingInitializer : Error s...原创 2019-01-14 14:26:26 · 16958 阅读 · 0 评论 -
spring boot 中缓存使用 @Cacheable redis缓存不生效的
@Cacheable 注解在对象内部调用不会生效代码示例:ProductServiceImpl.java public List<ProductInfoVO> getProductList(CommonRequest<ProductInfoDTO> reqest) { // @Cacheable失效,不会走缓存的 return this.findPr...原创 2019-01-15 09:51:11 · 10539 阅读 · 1 评论 -
Spring Data Redis 2.1中的新功能(Spring Data Redis 功能更新日志)
https://docs.spring.io/spring-data/redis/docs/2.1.0.RELEASE/reference/html/#redis:connectors:lettuce1.1. New in Spring Data Redis 2.1Unix domain socket connections using Lettuce.Write to Master, re...原创 2019-05-16 11:28:25 · 1428 阅读 · 0 评论