会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
-西门-
博客园
首页
新随笔
联系
订阅
管理
2024年1月16日
Spring Boot3.x集成ElasticSearch8.x
摘要: Spring Boot3.x集成ElasticSearch8.x 版本说明,本demo使用Spring Boot3.2.1 + JDK17 + ElasticSearch8.11.3 前提是已经部署好了自己的ElasticSearch环境,我这里直接用容器默认部署好了,能访问即可 创建Spring
阅读全文
posted @ 2024-01-16 17:15 -西门-
阅读(1899)
评论(0)
推荐(1)
2023年12月22日
基于Docker安装Elasticsearch + Kibana
摘要: 基于Docker安装Elasticsearch + Kibana 前提是先安装好Docker的环境 Docker创建网络 Docker创建一个网络专门连接Elasticsearch和Kibana docker network create es-net Docker安装Elasticsearch 拉
阅读全文
posted @ 2023-12-22 16:39 -西门-
阅读(116)
评论(0)
推荐(0)
2023年11月27日
Spring Boot 请求响应日志打印
摘要: Spring Boot 请求响应日志打印 接口请求日志打印效果如图,基本符合中小型项目所需 直接上代码 本代码中使用了hutool的工具包,需要先导入依赖 <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifa
阅读全文
posted @ 2023-11-27 15:49 -西门-
阅读(1154)
评论(0)
推荐(1)
2023年11月3日
springboot集成plumelog-lite日志管理
摘要: springboot集成plumelog-lite日志管理 一个超级宝藏的开源日志管理系统:Plumelog: 一个简单易用的java日志系统,解放你的日志查询困难问题,方便快速追踪问题,安装配置简单,性能优秀 演示视频地址:https://v.qq.com/x/page/g3308uxlcnw.h
阅读全文
posted @ 2023-11-03 01:32 -西门-
阅读(978)
评论(0)
推荐(0)
启动springboot项目jar包按时间格式化保存日志
摘要: 启动springboot项目jar包按时间格式化保存日志 手动启动结尾可以加&号 nohup java -jar demo-0.0.1-SNAPSHOT.jar >> /usr/application/log-demo/app-$(date +%Y-%m-%d).log 2>&1 & 其中 /usr
阅读全文
posted @ 2023-11-03 01:14 -西门-
阅读(442)
评论(0)
推荐(0)
2023年9月7日
Spring Boot项目手动提交事务案例
摘要: # Spring Boot项目手动提交事务案例 ``` java // 注入 PlatformTransactionManager 对象,用于管理事务 @Resource private PlatformTransactionManager transactionManager; public vo
阅读全文
posted @ 2023-09-07 14:10 -西门-
阅读(78)
评论(0)
推荐(0)
2023年5月9日
Spring Boot项目对接腾讯云COS对象存储上传文件接口
摘要: Spring Boot项目对接腾讯云COS对象存储上传文件接口 pom.xml <dependency> <groupId>com.qcloud</groupId> <artifactId>cos_api</artifactId> <version>5.6.35</version> </depend
阅读全文
posted @ 2023-05-09 13:53 -西门-
阅读(790)
评论(0)
推荐(0)
2023年2月9日
Docker集成Jenkins部署SpringBoot项目
摘要: Docker集成Jenkins部署SpringBoot项目 没安装Docker的先去安装Docker: https://www.cnblogs.com/ximensama/p/14903105.html 安装Jenkins 拉取长期维护版本的Jenkins docker pull jenkins/j
阅读全文
posted @ 2023-02-09 16:20 -西门-
阅读(356)
评论(0)
推荐(1)
2022年3月2日
Mybatis Plus 分页以及连表查询
摘要: Mybatis Plus 分页以及连表查询 1、Mybatis Plus分页配置类 import com.baomidou.mybatisplus.annotation.DbType; import com.baomidou.mybatisplus.extension.plugins.Mybatis
阅读全文
posted @ 2022-03-02 22:33 -西门-
阅读(1284)
评论(0)
推荐(0)
Mybatis Plus Generator代码生成器
摘要: Mybatis Plus Generator代码生成器 import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.generator.FastAutoGenerator; impor
阅读全文
posted @ 2022-03-02 22:32 -西门-
阅读(311)
评论(0)
推荐(0)
下一页
公告