- 博客(254)
- 收藏
- 关注
原创 springboot 两个相同类型的Bean使用@Resouce加载
使用@primary + name的方式注入使用@resource + name的方式获取
2024-05-21 02:40:01
725
1
原创 springboot application.yml Cannot invoke “Object.toString()“ because “key“ is null
保留字NULL导致
2024-05-04 13:04:59
834
1
原创 idea 通过maven构建无法使用@SpringBootApplication
新版本idea 2023 springboot不会对于找不到spring-boot-maven-plugin而生成标红提示,@SpringBootApplication也不会,导致难以定位。idea的标准版本没有指定构建版本,然后在springboot-parent里面没有指定默认的版本。springboot构建启动依赖spring-boot-maven-plugin。添加和镜像版本完全一致的version,然后重新构建maven即可。
2024-04-20 15:38:52
605
原创 curl 抛出Protocol “https“ not supported or disabled in libcurl
支持https的curl被其他软件覆盖了导致的通过find找到原来的curl即可
2024-04-11 09:22:57
1462
原创 java replaceFirst抛出异常
replace和replaceAll出现异常。‘原因是使用了正则表达式,解决方案是替换为lang3的 replaceOnce
2024-04-04 10:08:00
280
原创 vue3 无法导入vue-router 报错vue_router__WEBPACK_IMPORTED_MODULE_1__.default is undefined
vue3 和vue-router修改了启动命令
2023-09-04 19:46:41
1274
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人