- 博客(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
原创 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
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人