intellij settings restart failed
Solution Set 2023.12.25
【模板】后缀排序 考虑首先将所有长度为 \(1\) 的子串进行排序,然后将所有长度为 \(2\) 的子串排序,长度不足的以空字符补齐。以此类推,每次排序的子串长度均是上一次排序的子串长度的两倍。最后一次排序后,所有子串均已排序完毕,此时得到的序列即为后缀数组。 考虑如何快速进行排序,若我们已经完成对 ......
IntelliJ IDEA 2022.3.2 专业版安装
IDEA 2022版本介绍 IDEA2022引入依赖分析器,用于管理依赖项和解决冲突。JetBrains公司的IDEA是Java编程语言开发撰写时常用的集成开发环境,IntelliJ IDEA 强大的静态代码分析和人体工程学设计,让你的开发设计简单轻松,IntelliJ IDEA将您的源代码编入索引 ......
error: failed to push some refs to 'http://192.168.1.37:1080/nongzi/nongzi-applet.git'
当你直接在github上在线修改了代码,或者是直接向某个库中添加文件,但是没有对本地库同步,接着你想push上传到远程库,就会失败, 这个问题是因为远程库与本地库不一致造成的,那么我们把远程库同步到本地库就可以了 先把自己代码暂存,然后再拉取更新 ,然后 提交代码 也可参考 https://blog ......
insert into 表名 set
#insert into 表名 setCREATE TABLE `tbl_str` ( `id` INT DEFAULT NULL, `Str` VARCHAR(30) DEFAULT NULL ) ##批量 INSERT INTO `mytest`.`tbl_str` (`id`, `Str`) ......
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"
自动化框架中,从返回的json字符串中获取值,需要用jsonpath <!-- https://mvnrepository.com/artifact/com.jayway.jsonpath/json-path --> <dependency> <groupId>com.jayway.jsonpath ......
docker 启动报错 library initialization failed - unable to allocate file descriptor table - out of memory
docker 启动报错 library initialization failed - unable to allocate file descriptor table - out of memory 1.报错日志 library initialization failed - unable to ......
Linux:vscode扩展无法下载,报错:Error while fetching extensions : XHR failed
在Linux系统上下载安装好vscode以后,发现扩展里面无法下载安装,报错:Error while fetching extensions : XHR failed 解决办法:修改 hosts 文件 1.sudo cp /etc/hosts /etc/hosts.bak 2.sudo vi /et ......
win10安装git fatal: open /dev/null or dup failed: No such file or directory错误解决方法
https://files.cnblogs.com/files/netlock/null.zip?t=1703226893&download=true 文件地址 解决方法:1.C:\Windows\System32\drivers\null.sys 这个文件损坏,可以从网上下载win7、win10对 ......
NUXT - Error: Failed to download template from registry: fetch failed
HOST 路径 C:\Windows\System32\drivers\etc\hosts 前往 HOST 加入 185.199.108.133 raw.githubusercontent.com 测试是否成功 (若无任何信息返回即成功): node -e "require('https').get ......
intellij idea常用快捷键快速生成main方法、for循环、out输出
1、System.out.println() //输入sout,按下enter键,生成System.out.println()方法.sout >soutv=System.out.println("变量名 = " + 变量)soutp >System.out.println("") 2、public ......
【Django】加密 settings.py文件中的数据库密码
1. 使用 from cryptography.fernet import Fernet 第三方库 pip3 install cryptography 2. Fernet的使用 from cryptography.fernet import Fernet # 生成加密密钥 key = Fernet. ......
Lock wait timeout exceeded; try restarting transaction
-- 查看进程,删除trx_state=LOCK的进程 select * from information_schema.innodb_trx; kill trx_id; -- 删除耗时较长的线程 SELECT * from information_schema.`PROCESSLIST` WHER ......
报错: Failed to execute ‘append‘ on ‘FormData‘: 2 arguments required, but only 1 present.
未能对“FormData”执行“append”:需要2个参数,但仅存在1个参数。 let formData=new FormData() 本来 formData.append(‘list’,JSON.stringify(arr)) 改成下边这样了,就报错了 formData.append(JSON. ......
Docker启动Nacos报错:Nacos Server did not start because dumpservice bean construction fail
一、表象 重启服务器之后Docker运行Nacos容器,启动成功,但是外网无法访问。 查看了一下Nacos启动日志(docker logs nacos容器名) 二、分析 很明显是数据库配``置问题。。如果是数据库配置的问题,可以着重检查以下信息尤其是MySQL内网Host,查询方式见Docker安装 ......
Intellij IDE 修改默认类和方法注释格式
修改创建类时的默认注释 第一步:按菜单路径[File->Settings->Editor->File and Code Templates]找到默认配置 第二步:修改JAVA类、接口、枚举的注释,因为三者注释相似,所以直接关联到同一套注释配置【File Header.java】,所以直接修改incl ......
CentOS7 yum错误:One of the configured repositories failed (Unknown)
一、现象 二、原因 可能会有其他原因造成该问题(如,网络问题)。我这边的问题是红框中指定镜像重复,导致yum命令执行失败。 三、解决 cd /etc/yum.repos.d 排查重复的repo并将其删除。 ......
Docker启动Nacos报错:Nacos Server did not start because dumpservice bean construction fail
一、表象 重启服务器之后Docker运行Nacos容器,启动成功,但是外网无法访问。 查看了一下Nacos启动日志(docker logs nacos容器名) 二、分析 很明显是数据库配``置问题。。如果是数据库配置的问题,可以着重检查以下信息尤其是MySQL内网Host,查询方式见Docker安装 ......
Docker启动Nacos报错:Nacos Server did not start because dumpservice bean construction fail
一、表象 重启服务器之后Docker运行Nacos容器,启动成功,但是外网无法访问。 查看了一下Nacos启动日志(docker logs nacos容器名) 二、分析 很明显是数据库配``置问题。。如果是数据库配置的问题,可以着重检查以下信息尤其是MySQL内网Host,查询方式见Docker安装 ......
高德地图api报错 Get geolocation timeout.Get ipLocation failed.
使用了https 报错 Get geolocation timeout.Get ipLocation failed. 报错是定位超时,由于JSAPI 使用的是浏览器提供的定位服务,所以定位的准确度和成功率都会对浏览器有很大的依赖。由于Chrome在国内没有提供服务,因此使用Chrome定位服务的浏览 ......
[ABC328F] Good Set Query 题解
复习了一下边带权并查集板子。 设 \(d_{x}\) 表示当前点到它所在连通块根节点的距离。 合并点 \(x\) 和点 \(y\) 所在两个连通块时需要更新 \(d\)。因为将 \(x\) 点所在连通块的根节点的父亲节点设为了 \(y\) 点所在连通块的根节点,所以有 \(x \to y \to F ......
报错 MEDIA_URL setting must end with a slash
报错 MEDIA_URL setting must end with a slash 构建Django报错, MEDIA_URL setting must end with a slash 分析 根据报错找到media url配置,查看官方文档 MEDIA_URL 必须以/结尾 #根据报错找到med ......
Docker启动Nacos报错:Nacos Server did not start because dumpservice bean construction fail
一、表象 重启服务器之后Docker运行Nacos容器,启动成功,但是外网无法访问。 查看了一下Nacos启动日志(docker logs nacos容器名) 二、分析 很明显是数据库配``置问题。。如果是数据库配置的问题,可以着重检查以下信息尤其是MySQL内网Host,查询方式见Docker安装 ......
【Keil】解决Error: C9555E: Failed to check out a license. & 添加新的编译器
添加新的编译器 工具栏 Options for target 右边的 File Extensions, Books and Environment... 按钮 Folders/Extensions 选项卡 Setup Default ARM Compiler Version 上面的 ... 按钮 A ......
打包后运行不了,错误:"WebAssembly.instantiatestreaming’ failed because your server does not serve wasm with "application/wasm’MIME typeraln a8esa1yntantenwmich as a rre ME type Bpected "aplication/wam'
页面访问不了,错误截图: 解决方式:Nginx是在配置文件里面编辑: 保存后重启Nginx,清除缓存后生效 ......
archlinux开机出现错误Dependency failed for /home. Dependency failed for Local File System Time outwaiting for device /dev/disk/...
错误如下 Dependency failed for /home. Dependency failed for Local File System Time outwaiting for device /dev/disk/... 应该是文件系统表不正确了,导致访问文件系统失败。 使用救援盘挂载分区 ......
Solution Set #4
最近写了不少 AGC,感觉高一的时候做挺合适的,不过高一出于对 ad-hoc 和外星人题的恐惧一直没怎么写。其实古早题还是有不少能做的,希望学弟不要像我一样。 36 2nd ucup Stage 13 Shenyang F Ursa Minor 首先显然用区间内的操作可以组成它们的 gcd 对应的操 ......
Failed to convert property value of type 'java.lang.String' to required type 'java.util.Date' for property 'endTime';
后端springboot项目使用getMapper接受,字段写了转换注解 @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") 还报错Failed to co ......
【Nacos】启动报错 failed to req API:/nacos/v1/ns/instance after all servers([xxx]) tried: ErrCode:403、NacosException: Client not connected,current status: STARTING
1 com.alibaba.nacos.api.exception.NacosException:failed to req API:/nacos/v1/ns/instance after all servers([xxx]) tried: ErrCode:403, ErrMsg:<html><bo ......
电脑时间不同步导致的上网报错:core/proxy/vmess/encoding: failed to read response header > websocket: close 1006 (abnormal closure): unexpected EOF
报错内容: 2023/12/16 14:08:56 [Warning] [775541588] xxxxx.com/core/app/proxyman/outbound: failed to process outbound traffic > xxxxx.com/core/proxy/vmess/ ......