会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yvioo
“你从没有相信过谁吧,这就是你孤身一人的原因”
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
30
31
32
33
34
35
36
37
38
···
70
下一页
2021年5月21日
交通运输类文档下载——JT/T 808-2019、JT/T 809-2019文档分享
摘要: JT/T 808-2019、JT/T 809-2019文档分享 网盘:https://pan.baidu.com/s/1vfgenani8WR3in2lua3qWQ提取码:fktd 官网下载808协议:http://jtst.mot.gov.cn/hb/search/stdHBView?id=2ea
阅读全文
posted @ 2021-05-21 14:09 yvioo
阅读(809)
评论(0)
推荐(0)
2021年5月19日
JAVA工具类获取HttpServletRequest、HttpServletResponse 对象
摘要: 添加依赖 <!-- Spring Web --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>5.2.12.RELEASE</version> </d
阅读全文
posted @ 2021-05-19 14:06 yvioo
阅读(2802)
评论(0)
推荐(0)
SpringBoot整合logback日志框架
摘要: 在resource下创建一个名称为 logback-spring.xml文件 <configuration> <!--日志文件夹存放的名称--> <contextName>demo-test</contextName> <!--各项目日志保存统一父目录->路径自己设置绝对路径和相对路径都可以-->
阅读全文
posted @ 2021-05-19 10:57 yvioo
阅读(98)
评论(0)
推荐(0)
2021年5月10日
IDEA结合mybatis插件自动生成代码
摘要: pom文件 添加插件 <plugin> <groupId>org.mybatis.generator</groupId> <artifactId>mybatis-generator-maven-plugin</artifactId> <version>1.4.0</version> <configu
阅读全文
posted @ 2021-05-10 11:04 yvioo
阅读(779)
评论(0)
推荐(0)
2021年5月9日
Spring Boot中yml配置文件Map集合注入及使用方式
摘要: yml配置文件 maps: "{key1: 'value1', key2: 'value2'}" java中 @Value("#{${maps}}") private LinkedHashMap maps; 我这里之所以用LinkedHashMap类型 是因为我想要是有序的 可以根据自己的来 thy
阅读全文
posted @ 2021-05-09 15:30 yvioo
阅读(5179)
评论(0)
推荐(0)
2021年5月6日
git提交报错:Error merging: refusing to merge unrelated histories
摘要: 执行: git pull origin master --allow-unrelated-histories 然后再重新push即可
阅读全文
posted @ 2021-05-06 17:27 yvioo
阅读(319)
评论(0)
推荐(0)
2021年4月29日
windows系统中远程登录ubuntu18服务器的桌面
摘要: 下载:http://www.c-nergy.be/products.html 也可以直接服务器里 wget https://www.c-nergy.be/downloads/xRDP/xrdp-installer-1.2.3.zip 解压 unzip xrdp-installer-1.2.3.zip
阅读全文
posted @ 2021-04-29 14:30 yvioo
阅读(142)
评论(0)
推荐(0)
2021年4月28日
JAVA通过正则匹配html里面body标签的内容,去掉body标签
摘要: /** * 获取html中body的内容 包含body标签 * @param htmlStr html代码 * @return */ public static String getBody(String htmlStr){ String pattern = "<body[^>]*>([\\s\\S
阅读全文
posted @ 2021-04-28 23:50 yvioo
阅读(906)
评论(0)
推荐(0)
JAVA实现返回0001,0002,0003格式数字
摘要: 这里只需要修改 %04d 中的4即可设置生成几位数 /** * 获取下一个编号 * @param startValue 上一个编号 * @return */ public static String getNext(int startValue) { AtomicInteger val = new
阅读全文
posted @ 2021-04-28 19:39 yvioo
阅读(1706)
评论(0)
推荐(1)
JAVA遍历某个文件夹下所有文件listFiles() 实现按照名称升序排序
摘要: File[] files = file.listFiles(); List fileList = Arrays.asList(files); Collections.sort(fileList, new Comparator<File>() { @Override public int compar
阅读全文
posted @ 2021-04-28 19:37 yvioo
阅读(2409)
评论(0)
推荐(0)
上一页
1
···
30
31
32
33
34
35
36
37
38
···
70
下一页
公告