自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 No valid Maven installation found. Either set the home directory in the configuration dialog or set

2. 如图所示: No valid Maven installation found. Either set the home directory in the configuration dialog or set。driver-class-name: com.mysql.cj.jdbc.Driver既不爆红了,也能clean/install了。问题所在:重新配置一下maven路径,我之前是手改的maven路径,不知怎么的就不行,重新按文件夹选路径居然就好了。

2024-01-09 15:02:13 430

原创 projectStructurePropertyPlaceholderAutoConfiguration.class爆红

原因出在Spring Cloud的版本问题。

2023-01-05 20:18:48 198

原创 CentOS7克隆虚拟机

克隆后修改 /etc/sysconfig/network-scripts/ifcfg-ens33 文件。获取MAC地址:右键虚拟机->设置->网络适配器->高级->MAC地址。重启网卡 systemctl restart network。如果重启网卡不成功,则禁用NetworkManager。获取uuid: uuidgen ens33。ip地址: 自己自定义。

2022-12-26 20:55:05 217

原创 Your password does not satisfy the current policy requirements.mysql密码不能设为root

根据教程视频里讲的,只改了validate_password.length=4(长度)和validate_password.policy=LOW(验证政策),但是发现将密码改为root 时仍提示Your password does not satisfy the current policy requirements.validate_password_mixed_case_count 整个密码中至少要包含大/小写字母的总个数;validate_password_length 固定密码的总长度;

2022-12-26 15:30:02 379

原创 Optional int parameter ‘page‘ is present but cannot be translated into a null value due to being dec

背景:在测试上面这个controller时(status为查询条件Limit,查询status为1/0的所有记录),当用postman发出请求。,postman下面报错 500 "Internal Server Error" 控制台报错。意思是想要的参数是Object类型的,当被声明为原始数据类型时不能被附上null value,所以把形参里的int改成Integer型即可。

2022-11-02 09:52:47 1497

原创 Linux下启动服务 Unable to start embedded Tomcat server Caused by: java.net.BindException: 地址已在使用

显示内嵌Tomcat服务器无法启用,druid数据源关闭,某某地址重复等等一系列错误。然后又java -jar 了一下以前的几个项目,都报同样得到错误。下面是具体报错信息::。今天在Linux下启动已经打包好的项目时报下面错误。

2022-10-24 21:45:51 2349 2

原创 在Maven项目中发现所有的Plugins全爆红

maven项目中plugins爆红

2022-06-08 21:18:31 1206 1

原创 org.apache.maven.plugins:maven-site-plugin爆红

org.apache.maven.plugins:maven-site-plugin爆红解决方案

2022-06-05 19:55:54 2589

原创 proxyBeanMethods 爆红

@Configuration(proxyBeanMethods=true)在配置类中若proxyBeanMethods 方法爆红,找不到该方法原因可能是在pom.xml文件中配置的父项目版本原因解决方案:

2022-06-05 16:20:58 440

原创 Exception encountered during context initialization - cancelling refresh attempt

场景在main/java包下创建了两个类Student和Address ,其中Student类中定义了一个Address类的变量,private Address address;此时在resources目录下的beans.xml配置文件中初始化问题 <bean id="address" class="com.kuang.pojo.Address"> <property name="address" value="北京"/> </b..

2022-05-29 16:34:44 2802

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除