珍惜当下 展望未来!

随笔分类 -  005.分布式微服务

摘要:RestTemplate调用异常:sun.security.provider.certpath 安全问题 解决: 1.导入依赖 <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifa 阅读全文
posted @ 2022-04-15 11:45 嘿嘿- 阅读(103) 评论(0) 推荐(0)
摘要:springboot扫描到其他依赖模块定义的Bean 的方式 springboot默认是不能扫描到其他依赖模块定义的Bean的。(默认扫描的是启动类所在包下的所有Bean) 也就是在项目启动的不能将其他模块的Bean加载到spring容器 以下两种方式可以解决: 方式1: 1.设置springboo 阅读全文
posted @ 2021-12-14 16:14 嘿嘿- 阅读(4417) 评论(1) 推荐(1)