jekyll +caddy 奇怪的404问题 2020年4月22日 | 1 Comment 问题 用 jekyll 生成站点发布到 caddy 后有些页面访问报404 jekyll serve 是正常的… Read More
caddy 启动 Activating privacy features… 问题 2020年4月21日 | Leave a comment 问题: systemctl restart caddy 显示启动成功了但是访问不了 直接 caddy -con… Read More
Spring Feign java.lang.IllegalStateException: Ambiguous mapping 2020年3月26日 | Leave a comment 问题: Java Caused by: java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'thelook.client.flipcoin.FlipcoinClient' method public abstract thelook.client.flipcoin.FlipcoinClient$AllocateResp thelook.client.flipcoin.FlipcoinClient.allocate(int,int) to {GET /v1/allocate, consumes [application/json;charset=UTF-8], produces [application/json;charset=UTF-8]}: There is already 'thelook.client.facade.FacadeClient' bean method public abstract thelook.client.facade.FacadeClient$AllocateResp thelook.client.facade.FacadeClient.allocate(java.lang.String,java.lang.String,java.lang.String) mapped. at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.assertUniqueMethodMapping(AbstractHandlerMethodMapping.java:618) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:586) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.registerHandlerMethod(AbstractHandlerMethodMapping.java:312) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.lambda$detectHandlerMethods$1(AbstractHandlerMethodMapping.java:282) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$$Lambda$1107.0000000059D7B820.accept(Unknown Source) at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:684) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.detectHandlerMethods(AbstractHandlerMethodMapping.java:280) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.processCandidateBean(AbstractHandlerMethodMapping.java:252) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.initHandlerMethods(AbstractHandlerMethodMapping.java:211) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.afterPropertiesSet(AbstractHandlerMethodMapping.java:199) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.afterPropertiesSet(RequestMappingHandlerMapping.java:164) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1837) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1774) ... 89 more 123456789101112131415161718 Caused by: java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'thelook.client.flipcoin.FlipcoinClient' method public abstract thelook.client.flipcoin.FlipcoinClient$AllocateResp thelook.client.flipcoin.FlipcoinClient.allocate(int,int)to {GET /v1/allocate, consumes [application/json;charset=UTF-8], produces [application/json;charset=UTF-8]}: There is already 'thelook.client.facade.FacadeClient' bean methodpublic abstract thelook.client.facade.FacadeClient$AllocateResp thelook.client.facade.FacadeClient.allocate(java.lang.String,java.lang.String,java.lang.String) mapped. at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.assertUniqueMethodMapping(AbstractHandlerMethodMapping.java:618) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:586) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.registerHandlerMethod(AbstractHandlerMethodMapping.java:312) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.lambda$detectHandlerMethods$1(AbstractHandlerMethodMapping.java:282) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$$Lambda$1107.0000000059D7B820.accept(Unknown Source) at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:684) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.detectHandlerMethods(AbstractHandlerMethodMapping.java:280) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.processCandidateBean(AbstractHandlerMethodMapping.java:252) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.initHandlerMethods(AbstractHandlerMethodMapping.java:211) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.afterPropertiesSet(AbstractHandlerMethodMapping.java:199) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.afterPropertiesSet(RequestMappingHandlerMapping.java:164) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1837) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1774) ... 89 more R… Read More
【转】[总结]视音频编解码技术零基础学习方法 2020年3月20日 | Leave a comment https://blog.csdn.net/leixiaohua1020/article/details/18… Read More
docker service update 2020年3月19日 | Leave a comment docker service update --mount-add 'type=bind,source=/opt/d1,target=/var/data' *** 1 docker service update --mount-add 'type=bind,source=/opt/d1,target=/var/data' *** &… Read More
grafana 一些流行的dashboard 下载排名 2020年3月17日 | Leave a comment 数据来源 https://grafana.com/grafana/dashboards &nbs… Read More
【转】综合Twitter、Github等各大网站API设计经验:RESTful API实用设计与最佳实践 – Vinay Sahni 2020年3月13日 | Leave a comment https://www.jdon.com/53510 综合Twitter、Gith… Read More
nginx 重定向 2020年3月13日 | Leave a comment server { server_name a.com ; location / { rewrite ^(.*)$ https://baidu.com$1 permanent; } } 123456 server { server_name a.com ; location / { rewrite ^(.*)$ https://baidu.com$1 permanent; }} … Read More