问答详情
源自:2-1 redis后端缓存优化编码

测试redisDao时

遇到一个问题:测试redisDao时,下面的代码不运行 byte[] bytes = ProtostuffIOUtil.toByteArray(seckill,schema,LinkedBuffer.allocate(LinkedBuffer.DEFAULT_BUFFER_SIZE)); 报错:Not able to map any fields from class java.util.Locale.  All fields are either transient/static.

提问者:卡夫卡17 2017-03-24 16:59

个回答