上一页 1 2 3 4 5 6 ··· 16 下一页
摘要: 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)
摘要: 在Springboot开发的过程中,我们有时候需要在项目启动的时候提前加载或者执行一些类。 https://www.671bc1.com/Enter/home.html一共使用过三种方法: 1、使用@PostConstruct注解; @Componentpublic class MyPostCons 阅读全文
posted @ 2025-04-04 11:50 狗狗听话 阅读(816) 评论(0) 推荐(0)
摘要: 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)
摘要: 1.下载Redis: https://redis.io/downloads/ ,进入网站拉到最低下就能看到可以下载的版本。 2.下载后解压缩,进入文件输入命令:sudo make test 执行完后出下面的图,就可以证明安装环境没有问题: 3.然后执行命令:sudo make install, 下图 阅读全文
posted @ 2025-03-29 12:49 狗狗听话 阅读(742) 评论(0) 推荐(0)
摘要: 当我们安装完postgresql,打开自带的pgAdmin时会报如下错误,这时候我需要去单独下载一个版本pgAdmin重新安装 下载地址:https://www.pgadmin.org/download/pgadmin-4-macos/ 阅读全文
posted @ 2025-03-18 07:45 狗狗听话 阅读(30) 评论(0) 推荐(0)
摘要: 1.pom.xml 不需要添加任务多余的包,只需要基本SpringBoot包即可 2. Application.class文件需要添加任务定时开启的注解:@EnableScheduling 3.编写自己的定时器任务类 @Servicepublic class ScheduleService { @S 阅读全文
posted @ 2025-03-11 11:19 狗狗听话 阅读(45) 评论(0) 推荐(0)
摘要: 冲突原理:由于远程仓库和本地的commit有冲突,Git无法自动解决冲突时,会切换到一个匿名分支,然后使用git branch -a命令会发现变为如下图的样子: 手动解决完冲突后,直接执行git add -A(很重要),然后执行git rebase --continue, 如果没有任何需要解决的冲突 阅读全文
posted @ 2025-02-12 17:15 狗狗听话 阅读(240) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: 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 下一页