RedisTemplate 执行lua脚本出错

Redis exception; nested exception is io.lettuce.core.RedisException: java.lang.IllegalStateException

user_script:3: unexpected symbol near '￴' 

以上等等问题

解决方法:

    检查lua脚本空格,编码,中文,格式等等

    返回值接收,没有Integer类型,如果是Integer类型用Long接收,保险方法字符串接受转格式。

    

posted @ 2020-11-16 14:33  不愿意透露姓名的华  阅读(320)  评论(0)    收藏  举报