首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

- JREDIS - BUG: serviceRequest() - ProviderException: Bug? Expecting status c

2012-06-29 
-- JREDIS -- BUG: serviceRequest() -- ProviderException: Bug? Expecting status c调用JRedis.key()

-- JREDIS -- BUG: serviceRequest() -- ProviderException: Bug? Expecting status c
调用JRedis.key(); 抛出此异常.

因为使用的redis-server.exe版本过高。
访问http://code.google.com/p/servicestack/wiki/RedisWindowsDownload,下载redis-1.2.6-windows.zip  即可。


以下为google到的资料:
    You are almost certainly using the wrong jredis version for the redis server you are running. With version v2+ the KEYS command changed its reply type (from bulk to multi-bulk) but most other commands didn't so for the most part an incompatible version of jredis will work but for keys() it won't.

热点排行