logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

IDEA创建SpringBoot项目时Initialization failed for ‘https://start.spring.io’ Please check URL

IDEA创建SpringBoot项目时,选择默认连接https://start.spring.io/,会提示连接错误:错误信息:Initialization failed for ‘https://start.spring.io’ Please check URL, network and proxy settings. Error message: Cannot download ‘https:

#intellij idea
SpringBoot的JunitTest测试中,Service无法注入;Junit4和Junit5的区别

SpringBoot中,要使Service可以注入,需要添加注解@SpringBootTest和Junit的注解但要清楚知道你使用的是Junit4还是Junit5Junit5加@ExtendWith(SpringExtension.class)Junit4加@RunWith(SpringRunner.class),选其中一个,否则service无法注入,值为null!!@RunWith(Sprin

#junit#java
springboot中RedisTemplate的使用

问题Q:springboot中RedisTemplate的使用?Q:RedisTemplate的是一定要配置么?不配置也能使用,配置RedisTemplate是为了我们能自定义其序列化方式么?不配置的话表示默认采用其默认的配置序列化方式?Q:布隆过滤器是什么?有什么用?怎么使用?大白话布隆过滤器Q:我们在编写RedisConfig配置类时是否继承于CachingConfigurerSupport类

#redis
到底了