spring整合redis key的序列化问题

\xAC\xED\x00\x05t\x00保存的key都带这串东西。根据博文http://blog.csdn.net/yunhaibin/article/details/9001198 配置了也不行,各位能指点一下吗















classpath:redis.properties
classpath:shiro_db.properties



p:maxTotal="${redis.maxActive}"
p:testOnBorrow="${redis.testOnBorrow}"
p:MaxWaitMillis="${redis.maxWait}"
p:maxIdle="${redis.maxIdle}"/>

p:host-name="${redis.host}" p:port="${redis.port}" p:pool-config-ref="poolConfig" />


p:connection-factory-ref="connectionFactory"
p:defaultSerializer-ref="stringRedisSerializer"
p:keySerializer-ref="stringRedisSerializer">

看看这个试试
http://www.tuicool.com/articles/RVBbmyJ