-- 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.

你可能感兴趣的:(redis,jredis)