logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

解决:Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process

的原因‌通常是因为在安装或更新软件时,‌apt-get进程被中断,导致锁文件无法正确释放。这会导致后续的apt-get命令无法执行,显示“等待缓存锁”的提示。命令,将占用的进程强制结束,其中,错误信息中,by process 后面的数字 4056477,就是进程号。我们在Linux的Ubuntu系统中,当使用。占用的进程结束以后,重新运行安装命令即可。

文章图片
#ssh
切出idea窗口自动编译,关闭idea自动编译

切出idea窗口自动编译,切换idea窗口自动编译,关闭idea自动编译

文章图片
#intellij-idea#java#ide
解决:WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail

WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, se

文章图片
#ssh#redis#linux
idea、datagrip连接MySQL报错,Communications link failure The last packet sent successfully to the server

连接mysql报错,Communications link failureThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.No appropriate protocol(protocol is

文章图片
#intellij-idea#mysql#java +1
告别if-else炼狱!Spring Boot参数校验终极指南,代码精简70%

创建名为的工具类,定义校验方法/*** 商品实体类* @author 蜡笔小鑫星*/Validation.byProvider(HibernateValidator.class):使用HibernateValidator作为验证提供者,用于验证Java Bean的约束configure:用于对ValidatorFactory进行配置,可以设置不同的参数来调整验证行为failFast:配置是否快速失

文章图片
#spring boot#java#后端
解决:No qualifying bean of type ‘org.springframework.boot.autoconfigure.http.HttpMessageConverters‘

解决:No qualifying bean of type 'org.springframework.boot.autoconfigure.http.HttpMessageConverters' available: expected at least 1 bean which qualifies as autowire candidate.

文章图片
#spring cloud#spring boot#gateway
IntelliJ IDEA 配置JDK

IDEA配置JDK。我们的开发神器IDEA安装好了之后,在实际开发中,我们如何去配置好JDK的版本呢?注意:需要保证JDK在已经成功安装的情况下,再进行IDEA的配置现在就行动,让IntelliJ IDEA成为你征服代码山峰的利剑,一起创造不凡!

文章图片
#java#intellij-idea#ide
Node.js最新最详细安装教程-巨详细

2020最新-Node.js详细安装教程(2020)

到底了