Springboot 全局异常处理捕获 @NotNull 异常并打印默认信息

直接上代码,照搬就行// validation 报错捕捉 @ResponseStatus(HttpStatus.BAD_REQUEST) @ExceptionHandler(BindException.class) public Re...

Docker容器启动失败 Failed to start Docker Application Container Engine

如果是刚改完镜像加速地址的daemon.json,再打开检查一下是不是哪错误,json的格式对不对

华为云Centos7服务器 yum莫名吊慢解决方法

一条一条执行就好mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup wget -O /etc/yum.repos.d/CentOS...

Springboot 整合Druid时候报错:java.sql.SQLFeatureNotSupportedException; null; nested exception is java.sql.SQLFeatureNotSupportedE

java.sql.SQLFeatureNotSupportedException; null; nested exception is java.sql.SQLFeatureNotSupportedE解决方法:将druid版本修改至1...

Springboot 整合Druid时报错 org.apache.shiro.UnavailableSecurityManagerException

直接上代码在你的ShiroConfig类里加上如下代码:@Bean public FilterRegistrationBean delegatingFilterProxy(){ FilterRegistrationBean f...