跳至主要内容

博文

目前显示的是 三月, 2018的博文

澳门美食 20180318

https://www.kahnmacau.com/2013/07/blog-post_9687.html 1. 雲吞麵世家   澳門雅廉訪大馬路109號A-AB舖 (853) 2821-2266 營業時間: 12:00~01:30 2. 六記粥麵 3. 平靚正之選:祐漢熟食中心

[Q] zuul 配 hystrix & ribbon

1. 提示超时  Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Thu Mar 15 07:10:05 CST 2018 There was an unexpected error (type=Internal Server Error, status=500). TIMEOUT 改  # Increase the Hystrix timeout to 60s (globally) hystrix:   command:     default:       execution:         isolation:           thread:             timeoutInMilliseconds: 60000 参考: https://stackoverflow.com/questions/35376860/zuul-proxy-not-able-to-route-resulting-in-com-netflix-zuul-exception-zuulexcept 2. ribbon 无...

[S] spring cloud study - 20180315 - good website

had not read 1. https://github.com/spring-cloud/spring-cloud-netflix/issues/207 2. https://insight.io/github.com/Netflix/Hystrix/blob/v1.5.5/hystrix-contrib/hystrix-javanica/src/main/java/com/netflix/hystrix/contrib/javanica/aop/aspectj/HystrixCommandAspect.java 3. https://gitter.im/spring-projects/spring-boot 4. https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 5. https://springcloud.cc/spring-cloud-dalston.html

[Q] spring cloud 用到 hystrix 时报找不到类的错误

 报错如下: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/lang3/Validate] with root cause  java.lang.NoClassDefFoundError: org/apache/commons/lang3/Validate  at com.netflix.hystrix.contrib.javanica.aop.aspectj.HystrixCommandAspect.methodsAnnotatedWithHystrixCommand(HystrixCommandAspect.java:78) ~[hystrix-javanica-1.5.3.jar:1.5.3] 找到maven目录看,有下面这个jar,解压看,有Validate类, commons-lang3/3.3.1.jar 奇怪了,又用反编译看看 jd-gui-1.4.0.jar 看到反编译不出来。于是重新下载过,之后可以了。 怀疑是maven下载过程中出错吧。

Hacker

1. How to find out Wi-Fi passwords using CMD login in admin COMMAND LINE FORMAT #1: netsh wlan show profiles COMMAND LINE Format #2: netsh wlan show profile (name of your wifi) key=clear psst.... don't put the parentheses