Spring Boot redisTemplate autowiring failed
问题 I tried to integrate spring boot + redis into my application. Related settings in pom.xml is as below, <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> Application main is as below, @SpringBootApplication @EnableTransactionManagement @ImportResource({"classpath*:applicationContext.xml"}) public class ExamsCenterApplication { public static void main(String[] args) { SpringApplication.run(ExamsCenterApplication.class,