异常

五月 21, 2018 4:11:30 下午 org.glassfish.jersey.servlet.WebComponent filterFormParameters
警告: A servlet request to the URI http://10.90.13.6:8080/CSS_New/system/interestedVisitor/exportUnBillExcel contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.

https://translate.google.com.hk/translate?hl=zh-CN&sl=en&u=https://www.geekmj.org/jersey/jersey-jax-rs-html-form-data-handling-guide-401/&prev=search

[2018-05-22 00:32:08] [ERROR] [Thread-1871] [com.tk.css.core.redis.DispatchRedisUtil.get(DispatchRedisUtil.java:97)] - redis获取数据【key:staff_mapping_service,valuekey:1】异常
org.springframework.dao.InvalidDataAccessApiUsageException: Could not get a resource from the pool; nested exception is redis.clients.jedis.exceptions.JedisException: Could not get a resource from the pool
at org.springframework.data.redis.connection.jedis.JedisExceptionConverter.convert(JedisExceptionConverter.java:70)
at org.springframework.data.redis.connection.jedis.JedisExceptionConverter.convert(JedisExceptionConverter.java:41)
at org.springframework.data.redis.PassThroughExceptionTranslationStrategy.translate(PassThroughExceptionTranslationStrategy.java:37)
at org.springframework.data.redis.connection.jedis.JedisClusterConnection.convertJedisAccessException(JedisClusterConnection.java:3696)
at org.springframework.data.redis.connection.jedis.JedisClusterConnection.hGet(JedisClusterConnection.java:2247)
at org.springframework.data.redis.core.DefaultHashOperations$1.doInRedis(DefaultHashOperations.java:52)
at org.springframework.data.redis.core.DefaultHashOperations$1.doInRedis(DefaultHashOperations.java:49)
at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:204)
at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:166)
at org.springframework.data.redis.core.AbstractOperations.execute(AbstractOperations.java:88)
at org.springframework.data.redis.core.DefaultHashOperations.get(DefaultHashOperations.java:49)
at com.tk.css.core.redis.DispatchRedisUtil.get(DispatchRedisUtil.java:94)
at com.tk.css.dispatch.consumer.messageSend.DispatchSendMessage.sendKnowledgeMessage2Staff(DispatchSendMessage.java:437)
at com.tk.css.core.redis.pubsub.MsgListener$13.run(MsgListener.java:210)
at java.lang.Thread.run(Thread.java:745)
Caused by: redis.clients.jedis.exceptions.JedisException: Could not get a resource from the pool
at redis.clients.util.Pool.getResource(Pool.java:51)
at redis.clients.jedis.JedisPool.getResource(JedisPool.java:226)
at redis.clients.jedis.JedisSlotBasedConnectionHandler.getConnectionFromSlot(JedisSlotBasedConnectionHandler.java:66)
at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:116)
at redis.clients.jedis.JedisClusterCommand.runBinary(JedisClusterCommand.java:60)
at redis.clients.jedis.BinaryJedisCluster.hget(BinaryJedisCluster.java:358)
at org.springframework.data.redis.connection.jedis.JedisClusterConnection.hGet(JedisClusterConnection.java:2245)
... 10 more
Caused by: java.util.NoSuchElementException: Timeout waiting for idle object
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:447)
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:361)
at redis.clients.util.Pool.getResource(Pool.java:49)
... 16 more

原文地址:https://www.cnblogs.com/zhongchang/p/9067802.html