1. Redis 의존성 추가먼저 build.gradle 또는 pom.xml 파일에 Redis 관련 의존성을 추가합니다.build.gradlegroovydependencies { implementation 'org.springframework.boot:spring-boot-starter-data-redis' implementation 'org.springframework.boot:spring-boot-starter-websocket' implementation 'org.springframework.boot:spring-boot-starter-redis'}pom.xmlxml org.springframework.boot spring-boot-starter-dat..