![](https://img-blog.csdnimg.cn/9809940a1ef74f3e92cb4676efd94ec8.jpeg?x-oss-process=image/resize,m_fixed,h_224,w_224)
开发相关
java技术方面的相关问题、难题、知识。
sowler
没有完美的程序,只有不断追求完美,才能进步和成长。
展开
-
Caused by: java.net.BindException: Address already in use: JVM_Bind(ActiveMq已经启动)
Caused by: java.net.BindException: Address already in use: JVM_Bind(ActiveMq已经启动)原创 2023-02-15 15:56:04 · 640 阅读 · 1 评论 -
代码质量提升之注解一
@RequiredArgsConstructo、校验注解 spring注解:@Validated, javax 注解 @Valid、Spring中的 延迟加载 @Lazy注解、hibernate 延迟加载 @Lazy 校验器:hibernate.validator原创 2022-12-02 15:33:50 · 618 阅读 · 0 评论 -
oss/obs对象存储上传图片,在浏览器输入地址却是下载图片。不能直接在浏览器上查看。
oss/obs对象存储上传图片,在浏览器输入地址却是下载图片。不能直接在浏览器上查看。原创 2022-11-29 16:35:03 · 4068 阅读 · 0 评论 -
访问nginx报错502日志:failed (13: Permission denied) while connecting to upstream
访问nginx报错502日志:failed (13: Permission denied) while connecting to upstream, client: 192.168.1.253, server: xxx.xxx.com, request: "GET /apis/ HTTP/1.1", upstream: "http://127.0.0.1:3500/", host: "xxx.xxx.com"原创 2022-11-29 14:59:53 · 4572 阅读 · 3 评论 -
Spring事务
Spring事务详解原创 2022-11-24 16:42:46 · 409 阅读 · 0 评论 -
Mysql事务
Mysql事务原创 2022-11-23 15:17:55 · 425 阅读 · 0 评论 -
安装MongoDB、及基本使用
安装MongoDB、及基本使用原创 2022-10-24 11:21:33 · 661 阅读 · 0 评论 -
浏览器发送POST请求、DELETE请求
浏览器发送POST请求、DELETE请求原创 2022-10-21 10:46:47 · 1643 阅读 · 0 评论 -
java String字符串去除html格式
字符串去除html格式原创 2022-10-20 16:23:32 · 716 阅读 · 0 评论 -
MapStruct实体映射转换
MapStruct使用原创 2022-10-12 11:55:38 · 600 阅读 · 0 评论 -
java POI创建HSSFWorkbook工作簿
java POI创建HSSFWorkbook工作簿原创 2022-09-29 15:15:29 · 2706 阅读 · 0 评论 -
分布式文件存储MinIO、安装和使用
分布式文件存储MinIO、安装和使用原创 2022-09-28 15:14:45 · 3907 阅读 · 0 评论 -
执行sql报lock wait timeout exceeded; try restarting transaction
执行sql包lock wait timeout exceeded; try restarting transaction原创 2022-09-26 18:22:12 · 810 阅读 · 0 评论 -
JDBC连接MySql数据库
MySql使用JDBC简单连接数据库原创 2022-09-26 16:11:09 · 291 阅读 · 0 评论 -
Redis报错MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on
Redis报错MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on原创 2022-09-23 17:08:51 · 1319 阅读 · 0 评论 -
Job for nginx.service failed because the control process exited with error code.
nginx conf配置文件配置错误原创 2022-09-20 10:26:10 · 13051 阅读 · 0 评论 -
spring boot自动装配、@ConfigurationProperties、@DependsOn、@Import注解
springboot注解原创 2022-09-15 18:09:53 · 728 阅读 · 0 评论 -
Spring注解@Conditional相关用法
Spring注解@ConditionalXXX相关用法和解释。原创 2022-09-15 13:44:50 · 591 阅读 · 0 评论 -
Mysql Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘xx‘
Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggre原创 2022-09-09 15:03:38 · 566 阅读 · 0 评论 -
Lambda表达式和链式编程
Lambda表达式和链式编程原创 2022-09-02 12:00:40 · 785 阅读 · 0 评论 -
java函数式接口
java函数式接口。原创 2022-09-01 16:34:09 · 171 阅读 · 0 评论 -
Email发送邮件使用ical4j将时间同步日历中
Email发送邮件使用ical4j将时间同步日历中。原创 2022-08-29 16:36:25 · 756 阅读 · 0 评论 -
json解析异常显示{“$ref“:“$[0]“}
{"$ref":"$[1]"}的原因 多个元素持有同一个引用。因为循环引用对象重复,对象的hashcode是一样的,使用toString显示不同,但是用json就解析错误。原创 2022-08-23 11:54:08 · 513 阅读 · 0 评论 -
java Stack(栈)类、Queue和Deque队列
java stack类、 queue和 deque队列原创 2022-08-15 15:08:13 · 621 阅读 · 0 评论 -
安装kafka和zookeeper以及使用
安装zookeeper和kafka已经使用原创 2022-08-10 15:07:54 · 933 阅读 · 0 评论 -
Optional避免频繁判空的神器
Optional避免频繁判空的神器原创 2022-08-09 18:05:52 · 386 阅读 · 0 评论 -
RateLimiter使用
RateLimiter使用原创 2022-08-08 18:09:10 · 565 阅读 · 0 评论 -
springboot注解@PostContruct以及@Cacheable
springboot注解@PostContruct以及@Cacheable。原创 2022-07-28 15:29:17 · 857 阅读 · 0 评论 -
java LocalDateTime的使用
LocalDateTime的基本使用原创 2022-07-13 16:50:34 · 3788 阅读 · 0 评论 -
LDAP数据过滤问题
LDAP用户同步数据过滤问题原创 2022-07-11 18:05:05 · 1123 阅读 · 0 评论 -
maven下载和配置信息
maven安装和详解标签信息原创 2022-07-01 15:22:55 · 109 阅读 · 0 评论 -
linux常用命令
linux查看java安装路径原创 2022-06-30 11:36:53 · 59 阅读 · 0 评论 -
Linux 根据名称自动kill掉当前相关进程
ps aux | grep app | grep -v “grep” | awk ‘{print $2}’ | xargs -r kill原创 2022-03-03 17:33:57 · 229 阅读 · 0 评论 -
MySQL相关操作(实用函数和sql语法)
MySQL相关操作(实用函数和sql语法)原创 2021-12-30 09:55:05 · 755 阅读 · 0 评论 -
业务系统对接CAS
对接cas原创 2021-12-24 11:21:40 · 959 阅读 · 0 评论 -
使用js截取路径参数方法
1.根据传入的路径和参数名称截取export function getUrlParams(href,name) { var reg = new RegExp("(^|\\?|&)"+ name +"=([^&]*)(\\s|&|$)", "i"); if (reg.test(href)) { return unescape(RegExp.$2.replace(/\+/g, " ")) }; return "";}2.获取路径中的指定参数名称expor原创 2021-11-01 15:41:51 · 1340 阅读 · 0 评论 -
将本地jar包打包到本地仓库和上传到私服
1、本地jar打包到本地仓库mvn install:install-file -DgroupId=自定义的groupID -DartifactId=自定义的artifactid -Dversion=自定义版本号 -Dpackaging=jar -Dfile=jar包完整地址mvn install:install-file -DgroupId=com.** -DartifactId=**-** -Dversion=0.3 -Dpackaging=jar -Dfile=D:\common\**-**-0原创 2021-10-27 15:16:11 · 696 阅读 · 0 评论 -
简单记录下RestTemplate使用方法
1.设置get方法ResponseEntity<JSONObject> responseEntity= restTemplate.getForEntity(url,JSONObject.class);2.设置post方法 MultiValueMap map = new LinkedMultiValueMap(); map.add("name", name); ResponseEntity<JSONObject> responseEntity = restTemplat原创 2021-10-26 15:54:21 · 255 阅读 · 0 评论 -
指定时间失效
获取第二天的1:30的毫秒数public static Long getEveryDayTime() {Calendar calendar = Calendar.getInstance();calendar .set(Calendar.HOUR_OF_DAY,1);calendar .set(Calendar.MINUTE, 30);calendar .set(Calendar.SECOND, 0);calendar.add(Calendar.DATE,1);return calendar .原创 2021-09-27 10:50:59 · 75 阅读 · 0 评论 -
Flowable启动报错problem during schema upgrade&&couldn‘t upgrade db schema:
Flowable启动报错problem during schema upgrade&&couldn‘t upgrade db schema:原创 2021-09-09 13:45:15 · 4824 阅读 · 0 评论