会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
韩坨麟
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
6
下一页
2022年10月24日
cmd中关闭进程的方式
摘要: cmd中关闭进程的方式:C:\Users\h>netstat -ano | findstr 8080 TCP 192.168.43.159:8927 111.206.99.82:8080 ESTABLISHED 5156 C:\Users\h>taskkill -PID 5156 -F成功: 已终止
阅读全文
posted @ 2022-10-24 08:53 韩坨麟
阅读(212)
评论(0)
推荐(0)
编辑
2022年6月1日
maven打包跳过测试
摘要: 方式一:增加maven依赖 <build> <plugins> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> <
阅读全文
posted @ 2022-06-01 08:59 韩坨麟
阅读(25)
评论(0)
推荐(0)
编辑
2022年5月23日
centos7 yum install mysql-community-server -y 失败:获取 GPG 密钥失败:[Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022"
摘要: centos7 安装mysql8: 1. yum remove mariadb-libs.x86_64 2. wget https://dev.mysql.com/get/mysql80-community-release-el7-6.noarch.rpm 3. yum localinstall m
阅读全文
posted @ 2022-05-23 11:42 韩坨麟
阅读(774)
评论(2)
推荐(1)
编辑
2021年4月9日
springboot初始化activiti表失败——mysql8.xxx的坑
摘要: 2021-04-09 14:47:48.732 ERROR 5088 [ main] o.a.e.impl.interceptor.CommandContext : Error while closing command context org.apache.ibatis.exceptions.Pe
阅读全文
posted @ 2021-04-09 15:18 韩坨麟
阅读(1983)
评论(0)
推荐(0)
编辑
2020年8月17日
二维码解码编码
摘要: pom引入包: <dependency> <groupId>com.google.zxing</groupId> <artifactId>core</artifactId> <version>3.4.0</version></dependency><dependency> <groupId>com.
阅读全文
posted @ 2020-08-17 11:52 韩坨麟
阅读(905)
评论(0)
推荐(0)
编辑
2020年6月24日
迭代器模式实现层级结构
摘要: 一、前言 相信相信的力量! 从懵懂的少年,到拿起键盘,可以写一个HelloWorld。多数人在这并不会感觉有多难,也不会认为做不出来。因为这样的例子,有老师的指导、有书本的例子、有前人的经验。但随着你的开发时间越来越长,要解决更复杂的问题或者技术创新,因此在网上搜了几天几夜都没有答案,这个时候是否想
阅读全文
posted @ 2020-06-24 16:29 韩坨麟
阅读(367)
评论(0)
推荐(0)
编辑
JAVA8——多重排序
摘要: CusPrm prm1 = new CusPrm(); prm1.setPrmName("小红"); prm1.setFkCusMtId(3L); CusPrm prm2 = new CusPrm(); prm2.setPrmName("张红"); prm2.setFkCusMtId(5L); Cu
阅读全文
posted @ 2020-06-24 14:23 韩坨麟
阅读(1560)
评论(0)
推荐(0)
编辑
2020年5月27日
java8——排序
摘要: 对数据进行排序是平常经常会用到的操作之一,使用Jav8排序可以减少你在排序这方面的代码量,优化你的代码。 测试用例代码 定义个实体类User,拥有姓名name,年龄age,积分credits三个属性,定义一个包含User的集合,用于排序,下面是代码 /* 这里偷个懒,用lombok注解生成实体类ge
阅读全文
posted @ 2020-05-27 15:58 韩坨麟
阅读(1975)
评论(0)
推荐(0)
编辑
2020年5月14日
org.springframework.web.client.RestTemplate设置访问超时 || @HystrixCommand注解设置超时
摘要: 原文:https://www.cnblogs.com/shamo89/p/8177182.html (一)RestTemplate 客户端 1、RestTemplate 是Spring的封装,需要spring的包 spring-web-3.0.7.RELEASE.jar 2、客户端代码: 1 /**
阅读全文
posted @ 2020-05-14 17:05 韩坨麟
阅读(2712)
评论(0)
推荐(0)
编辑
2020年4月30日
Springboot以Tomcat为容器实现http重定向到https的两种方式
摘要: Springboot以Tomcat为容器实现http重定向到https的两种方式 1 简介 本文将介绍在Springboot中如何通过代码实现Http到Https的重定向,本文仅讲解Tomcat作为容器的情况,其它容器将在以后一一道来。 建议阅读之前的相关文章: (1) Springboot整合ht
阅读全文
posted @ 2020-04-30 17:55 韩坨麟
阅读(485)
评论(0)
推荐(0)
编辑
1
2
3
4
5
6
下一页