bug开发者
Anthony-YU
冰冻三尺非一日之寒,条条大路通罗马
展开
-
Authentication failed for token submission [org.apache.shiro.cas.CasToken@225f228c].
13:45:57.399 WARN o.a.s.a.AbstractAuthenticator - Authentication failed for token submission [org.apache.shiro.cas.CasToken@225f228c]. Possible unexpected error? (Typical or expected login exceptions should extend from AuthenticationException).java.lan...原创 2021-04-27 14:13:47 · 684 阅读 · 0 评论 -
JAVA项目中常见的网络异常
JAVA项目中常见的网络异常项目中常见的TCP/IP异常1、 java.net.BindException:Address already in use: JVM_Bind2、 Read timed out java.net.SocketTimeoutException: Read timed out2、 org.apache.http.conn.HttpHostConnectException3、org.apache.catalina.connector.ClientAbortException4、or原创 2021-04-26 11:09:28 · 2693 阅读 · 0 评论 -
阿里云settings.xml配置
<?xml version="1.0" encoding="UTF-8"?><settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apach...原创 2021-02-18 18:04:41 · 528 阅读 · 0 评论 -
利用redis的ZSet实现排行榜,积分相同根据时间,时间越早的越靠前
@Overridepublic List<Map<String, Object>> redisTop(String level) { Set<ZSetOperations.TypedTuple<Object>> scores = redisTemplate.opsForZSet().rangeWithScores("top" + level, 0, 9); if (CollectionUtils.isEmpty(scores)) { .原创 2021-02-07 13:23:27 · 1925 阅读 · 0 评论 -
如果集合为LIST,泛型是Map,要根据map中key值进行排序
List<Map<String, Object>> list = new ArrayList<>();assert scores != null;AtomicInteger i = new AtomicInteger(1);scores.forEach(tuple -> { Map<String, Object> map = new HashMap<>(); map.put("rank", i.getAndIncrem.原创 2021-02-05 11:40:50 · 334 阅读 · 0 评论 -
微信公众号开发之模板消息如何配置
在开发微信的时候可能会用到测试接口,需要配置系统回复的模板消息,如图的模板消息接口,之前看到但是忽略了这个点,晕原创 2021-02-05 11:21:54 · 396 阅读 · 0 评论 -
清除浏览器JS缓存方法 2021-01-20
<script > document.write('<script src="../static/js/index.js?_=' + new Date().getTime() + '"><\/script>');</script>原创 2021-01-20 17:10:12 · 249 阅读 · 0 评论 -
while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn‘t
在使用安卓模拟器定位页面元素时启动uiautomatorviewer.bat ,但是报错:Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist! Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't.原创 2020-09-18 19:49:51 · 328 阅读 · 0 评论