会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
狗狗听话 走在路上
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
16
下一页
2025年7月3日
Java读取execl 利用JDBC插入Postgresql简单示例
摘要: 1.Pom.xml <?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc
阅读全文
posted @ 2025-07-03 17:46 狗狗听话
阅读(20)
评论(0)
推荐(0)
2025年4月4日
Springboot中项目启动加载的几种方式
摘要: 在Springboot开发的过程中,我们有时候需要在项目启动的时候提前加载或者执行一些类。 https://www.671bc1.com/Enter/home.html一共使用过三种方法: 1、使用@PostConstruct注解; @Componentpublic class MyPostCons
阅读全文
posted @ 2025-04-04 11:50 狗狗听话
阅读(816)
评论(0)
推荐(0)
2025年3月31日
Java selenium实现浏览器ctrl + s功能
摘要: 1.chromedirver驱动下载:https://link.zhihu.com/?target=https%3A//storage.googleapis.com/chrome-for-testing-public/137.0.7151.104/mac-arm64/chromedriver-mac
阅读全文
posted @ 2025-03-31 13:57 狗狗听话
阅读(65)
评论(0)
推荐(0)
2025年3月29日
Macbook pro 安装Redis
摘要: 1.下载Redis: https://redis.io/downloads/ ,进入网站拉到最低下就能看到可以下载的版本。 2.下载后解压缩,进入文件输入命令:sudo make test 执行完后出下面的图,就可以证明安装环境没有问题: 3.然后执行命令:sudo make install, 下图
阅读全文
posted @ 2025-03-29 12:49 狗狗听话
阅读(742)
评论(0)
推荐(0)
2025年3月18日
Macbook pro 打开pgAmin报错
摘要: 当我们安装完postgresql,打开自带的pgAdmin时会报如下错误,这时候我需要去单独下载一个版本pgAdmin重新安装 下载地址:https://www.pgadmin.org/download/pgadmin-4-macos/
阅读全文
posted @ 2025-03-18 07:45 狗狗听话
阅读(30)
评论(0)
推荐(0)
2025年3月11日
SpringBoot学习之任务定时器
摘要: 1.pom.xml 不需要添加任务多余的包,只需要基本SpringBoot包即可 2. Application.class文件需要添加任务定时开启的注解:@EnableScheduling 3.编写自己的定时器任务类 @Servicepublic class ScheduleService { @S
阅读全文
posted @ 2025-03-11 11:19 狗狗听话
阅读(45)
评论(0)
推荐(0)
2025年2月12日
关于git rebase中的一些问题:Git报错“no branch, rebasing master”
摘要: 冲突原理:由于远程仓库和本地的commit有冲突,Git无法自动解决冲突时,会切换到一个匿名分支,然后使用git branch -a命令会发现变为如下图的样子: 手动解决完冲突后,直接执行git add -A(很重要),然后执行git rebase --continue, 如果没有任何需要解决的冲突
阅读全文
posted @ 2025-02-12 17:15 狗狗听话
阅读(240)
评论(0)
推荐(0)
2024年11月18日
Java学习之读取Yaml文件
摘要: 1.yaml文件示例: england: initialUrl: https://zq.titan007.com/cn/League/36.html finalUrl: filePath: fileName: ""spain: initialUrl: finalUrl: filePath: file
阅读全文
posted @ 2024-11-18 17:48 狗狗听话
阅读(322)
评论(0)
推荐(0)
2024年11月16日
Macbook pro 安装mysql
摘要: 1.打开官网进入macOS系统版本 :https://dev.mysql.com/downloads/mysql/ 2.打开系统偏好设置就可以看到MySQL了 3.编辑.bash_profile文件 1.打开终端输入vim ~/.bash_profile 2.在打开的文本中,输入键盘的 i 进行编写
阅读全文
posted @ 2024-11-16 23:48 狗狗听话
阅读(162)
评论(0)
推荐(0)
2024年11月13日
Java学习之定时任务框架Quartz
摘要: Quartz 的核心类有以下三部分:Job : 需要实现的任务类,实现 execute() 方法,执行后完成任务。Trigger : 包括 SimpleTrigger 和 CronTrigger。Scheduler : 任务调度器,负责基于 Trigger触发器,来执行 Job任务。 简单示例 1.
阅读全文
posted @ 2024-11-13 16:16 狗狗听话
阅读(301)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
16
下一页
公告