- 博客(16)
- 收藏
- 关注
原创 win11下安装mysql 8.0以上版本没找到data文件的问题
默认情况不在C:\Program Files目录下,那么在C:\ProgramData\MySQL\MySQL Server 8.0目录下可以找到data目录和ini配置文件。
2023-09-26 20:47:18
770
原创 MyBatis-plus 自动填充MetaObjectHandler不生效
结果无效 后来发现实体类中必须添加@TableFiled(insert=xxx)注解。实现了MetaObjectHandler接口的代码如下。
2023-03-16 16:06:49
655
原创 k8s报错Unable to connect to the server: dial tcp: lookup cluster-endpoint on xxx
在此要强调一点的是,直接修改/etc/resolv.conf这个文件是没用的,网络服务重启以后会根据/etc/sysconfig /network-scripts/ifcfg-eth0来重载配置,如果ifcfg-eth0没有配置DNS,那么resolv.conf会被冲掉,重新变成空值。/etc/sysconfig /network-scripts/ifcfg-eth0 下的dns IP。然后使用如下命令重启网络服务。改为 8.8.8.8。
2023-02-19 10:43:08
3725
原创 PKIX path building failed: unable to find valid certification path to requested target 发送邮件报错
PKIX path building failed报错
2023-02-09 15:38:43
730
原创 bug:Add an implementation, such as Hibernate Validator, to the classpath
【代码】bug:Add an implementation, such as Hibernate Validator, to the classpath。
2023-01-09 22:08:42
107
原创 nacos项目启动出现的bug Server check fail, please check server localhost ,port 9848 is available
nacos Server check fail, please check server localhost ,port 9848 is available
2022-12-29 12:13:20
9933
原创 spring的执行流程
spring生命周期只有3个:1、Spring对Bean进行实例化(相当于程序中的new Xx())。2、Spring将值和Bean的引用注入进Bean对应的属性中。3、如果Bean实现了BeanFactoryAware接口,Spring将调用setBeanDactory(BeanFactory bf)方法并把BeanFactory容器实例作为参数传入。...
2022-07-04 12:31:25
2016
1
转载 idea每次启动后,均要执行Invalidate Caches操作,否则spring的注解和类爆红
idea每次启动后,均要执行Invalidate Caches操作,否则spring的注解和类爆红
2022-07-04 10:59:09
1356
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人