Description:
The URL ‘127.0.0.1’ is not valid for configuring Spring Data Redis. The scheme ‘null’ is not supported.
Action:
Use the scheme 'redis://for insecure or
rediss://` for secure Redis standalone configuration.
最后解决方法:
application.yml配置文件应该是写host而不是url;
或者
这是我出现的问题:
在application-dev.yml里不知道什么时候又配置了一个redis,还没有host,一定要检查配置文件里是否配置了多份。。。。