DevOps/Redis2 [Redis] Method annotated with @Bean is called directly. Use dependency injection instead. Redis 코드를 짜다가 에러가 났다. @RequiredArgsConstructor @Component @EnableRedisRepositories public class RedisRepositoryConfig { private final RedisProperties redisProperties; @Bean public RedisConnectionFactory redisConnectionFactory(){ return new LettuceConnectionFactory(redisProperties.getHost(), redisProperties.getPort()); } @Bean public RedisTemplate redisTemplate() { RedisTemplate redisTemplate = n.. 2023. 9. 9. 맥 redis 설치 및 실행하기 전제: homebrew 설치 terminal을 통한 redis 설치 brew install redis brew services를 통한 redis 실행 brew services start redis brew services stop redis brew services restart redis redis-cli 사용 2022. 12. 5. 이전 1 다음