异常Throwable
那年杏树
这个作者很懒,什么都没留下…
展开
-
[Exception] HttpMessageNotReadableException
org.springframework.http.converter.HttpMessageNotReadableException: Could not read document: No suitable constructor found for type [simple type, class cn.jintongsoft.cloud.web.bean.NeglectBean$P]: ca...原创 2017-07-31 10:19:26 · 16523 阅读 · 0 评论 -
[Exception] java.lang.UnsupportedOperationException
1.CopyOnWriteArrayList 不支持 Collections.sort() 异常信息:Exception in thread "main" java.lang.UnsupportedOperationException at java.util.concurrent.CopyOnWriteArrayList$COWIterator.set(CopyOnWrite...原创 2018-01-29 11:50:38 · 643 阅读 · 0 评论 -
[Exception] com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
情形1:mysql服务器没有开启 mysql服务启动命令:Mac : mysql.server start二月 24, 2018 11:24:42 上午 org.apache.tomcat.jdbc.pool.ConnectionPool init严重: Unable to create initial connections of pool.com.mysql.jdbc.excep原创 2018-01-29 11:52:04 · 1186 阅读 · 0 评论 -
[Exception] redis.clients.jedis.exceptions.JedisConnectionException
情形1:对应的服务器没有开启 (redis server 没有启动) 启动命令:mac: redis-serverredis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool at redis.clients.util.Pool.getResource...原创 2018-01-29 13:18:38 · 1861 阅读 · 0 评论 -
[Exception] java.util.MissingFormatArgumentException
代码:String ret = "恭喜小主在春节收集烟花活动中获得第%s名,获取%s档次奖励!";String.format(ret,"1");异常详细信息:java.util.MissingFormatArgumentException: Format specifier 's' at java.util.Formatter.format(Formatter.jav...原创 2018-01-29 11:51:12 · 13929 阅读 · 0 评论 -
[Exception] java.lang.IllegalArgumentException: Prefix string too short
情景: File.createTempFile(“temp”,suffix); 异常:java.lang.IllegalArgumentException: Prefix string too short 原因:这个方法要求前缀不得少于3个字符 解决方案:增加前缀长度(第一个参数),或换其它方法创建文件异常详细信息: java.lang.IllegalArgumentExcep...原创 2018-01-03 20:09:38 · 11830 阅读 · 0 评论 -
[Exception] org.springframework.beans.factory.BeanCreationException: Error creating bean with name '
1.异常信息org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/boot/autoconfigure/w...原创 2018-04-23 20:18:03 · 746 阅读 · 0 评论 -
[Exception] JedisDataException: ERR wrong number of arguments for '***' command
异常信息:Caused by: redis.clients.jedis.exceptions.JedisDataException: ERR wrong number of arguments for 'zrem' command at redis.clients.jedis.Protocol.processError(Protocol.java:66) at redis.cl...原创 2018-06-22 18:32:42 · 18127 阅读 · 0 评论