自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 map.xml文件报The content of element type “mapper“ must match “(cache-ref|cache|resultMap*|parameterMap*

</insert>中的</insert>写的位置不对,比如写在了代码里面。增删改查等标签位置写的不对,比如有开头没结尾,或者写进代码里面,比如<insert></insert>只写了一个,没有写结尾

2023-04-23 18:47:58 200

原创 MySQL主从复制报错Authentication plugin ‘caching_sha2_password‘ reported error: Authentication requires sec

select plugin from`user` where user = '你的用户的名字';(我这边是xiaoming)从报错的提示中可以看出关键词:plugin 'caching_sha2_password' reported error。Slave_IO_Running: Connecting(如果成功,这里应该显示Yes)修改为mysql_native_password即可解决。查询结果如下就是修改成功。再进行操作就连接成功了。在从库执行操作: show slave。\G后,报如下错误。

2023-04-20 18:45:21 2044

原创 mariadb-libs 被 mysql-community-libs-compat-8.0.26-1.el7.x86_64 取代

在linux虚拟机安装mysql时,其中一个步骤报错。

2023-04-06 11:58:42 458

原创 java: 无法访问org.springframework.boot.SpringApplication

java类文件版本号与jdk版本号存在对应关系,61.0对应jdk17,52.0对应jdk8。

2023-04-05 22:19:36 295 1

原创 更改navicat背景颜色为深色

更改navicat的主题背景。

2023-04-04 17:17:34 2075 1

原创 解除使用@ConfigurationProperties注解警告

添加如下注解:

2023-03-26 21:52:28 238

原创 java.nio.charset.MalformedInputException: Input length = 1

你的配置文件里面有汉字,注释也算,你可以把你所有配置文件看一下,把汉字去掉。

2023-03-18 21:45:22 539

原创 OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and

取消勾选运行不再报错。

2023-03-18 20:53:54 2182 4

原创 控制台显示:org.springframework.web.HttpMediaTypeNotAcceptableException: No acceptable representation

1.提供对应的setter和getter方法;2.使用@Data注解。

2023-03-13 21:09:56 1713

原创 java: 无法访问java.util.function.Function 找不到java.util.function.Function的类文件

java: 无法访问java.util.function.Function 找不到java.util.function.Function的类文件

2023-03-12 22:50:03 815

原创 学习mp时加了@mapper注解但是报找不到bean的错误

Error creating bean with name 'com.leilei.SpringbootMpApplicationTests': Unsatisfied dependency expressed through field 'userDao': No qualifying bean of type 'com.leilei.dao.UserDao' available: expected at least 1 bean which qualifies as autowire candidate

2023-03-12 14:09:37 2827 1

原创 Spring Boot配置多环境报错解决方案

Spring boot配置多环境报错解决方法

2023-03-11 14:35:04 585

空空如也

空空如也

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

TA关注的人

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