会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
官萧何
逆风的方向,更适合翱翔……
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
35
下一页
2023年11月20日
springboot 控制序列化反序列化示例(接口返回数据处理/接口接收数据处理)
摘要: 1.返回Long转JSON package com.mingx.drone.config; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.JsonSerializer; i
阅读全文
posted @ 2023-11-20 10:58 官萧何
阅读(371)
评论(0)
推荐(0)
2023年11月9日
使用 @ConfigurationProperties 初始化static配置文件变量
摘要: 重点 设置静态属性必须添加非静态set方法 不然会读取配置文件失败 还有就是 prefix只支持小写 配置文件项如下 配置文件 package com.mingx.drone.config; import lombok.Data; import org.springframework.boot.co
阅读全文
posted @ 2023-11-09 14:55 官萧何
阅读(455)
评论(0)
推荐(0)
备份下启动springboot项目脚本文件 start.sh
摘要: 1.将jar包放到和该脚本同级目录 2.记得chmod 777 ./start.sh 赋予执行权限 3.执行./start.sh文件即可 4.重启也可以直接执行此文件 5.如果没有打包配置文件可以在此脚本同级目录创建config目录将yml/properties配置文件放进去 . #!/bin/ba
阅读全文
posted @ 2023-11-09 10:43 官萧何
阅读(199)
评论(0)
推荐(0)
记录一次springboot开启远程调试的问题
摘要: springboot远程连接报错如下 Error running 'remote': Unable to open debugger port (10.100.10.54:18082): java.net.ConnectException "Connection refused: connect"
阅读全文
posted @ 2023-11-09 10:38 官萧何
阅读(337)
评论(0)
推荐(0)
2023年10月9日
seata笔记
摘要: 参考:https://blog.csdn.net/q932976085/article/details/113652898
阅读全文
posted @ 2023-10-09 14:42 官萧何
阅读(9)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
35
下一页
公告