java.lang.IllegalArgumentException: non null key required
1、redis保存数据时,key为空导致的报错。
问题解决:保存之前先判断key是否为null或''。