代码
未读
Spring Boot3整合MyBatisPlus实现多数据源
1.导入多数据源pom依赖 <!-- 多数据源 -->
<!-- https://mvnrepository.com/artifact/com.baomidou/dynamic-datasource-spring-boot3-starter -->
<dependency>
<grou
代码
未读
SpringBoot在使用@Cacheable缓存对象为空
1.情况 SpringBoot在使用@Cacheable缓存对象为空 具体就是在实体类的时候,List<Integer>为空 1.1 实体类 @Schema( description = "赠送礼物id")
private List<Integer> itemId;
@Schema( descrip
代码
未读
【Docker】WARNING: IPv4 forwarding is disabled. Networking will not work.
WARNING: IPv4 forwarding is disabled. Networking will not work.
代码
未读
2025 Jetbrains (IDE、WebStorm等)激活问题解决(We could not validate your license FV8EM46DQYC5AW9)
we could not validate your license fv8em46dqyc5aw9.
代码
未读
Linux换源-Centos,Ubuntu,Rocky
最后执行 - 换源完成后执行更新 Centos sudo yum clean all
sudo yum makecache
Ubuntu sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get upgrade
Rocky # 清理旧缓
代码
未读
记一次ibd文件数据库恢复过程
起因 之前服务器安装某个程序需要.net8 要修改glibc更改版本,修改后正常使用,不小心更新宝塔后保存 需要glibc_2.33 2.34,安装2.34的时候直接报错,导致内存异常,ssh连不上,重启后无法进入系统,进入救援模式后,拷贝出数据库data目录文件,进行数据恢复 frm,MYD,MY
代码
未读
Halo博客搭建配置
https://halo.jampang.cn 我使用的Jar包部署,相对而且麻烦一些 Yaml server:
# 运行端口
port: 8090
spring:
# 数据库配置,支持 MySQL、MariaDB、PostgreSQL、H2 Database,具体配置方式可以参考下面的
代码
未读
Nginx开启目录下载
Nginx开启目录下载 location /10086 {
alias /www/disk1/xxxx/download; #修改为你的目录
autoindex on; #开启索引功能
autoindex_exact_size off; #
代码
未读
Docker下部署ZeroTier行星Planet服务
一:准备工作 具有公网ip的服务器或具有ipv6的家庭主机 安装docker(自行百度),我使用的宝塔,下面的教程也是宝塔面板为主。 服务器推荐购买地址: 轻迅云服务器 二、安装前准备 Centos7服务器需要先换源 阿里源地址 点击下载,将/etc/yum.repos.d/CentOS-Base.
代码
未读
pom.xml提示Could not transfer artifact,Maven无法下载包
方法一 找到本地Maven仓库,删除对应目录下.lastUpdated2文件 我试了,没有用 方法二(这个对我有效) 打开IDEA设置 Setting->Build,Execution,Deployment->Build Tools->Maven->Importing 在VM options for

