
spring cloud
Rsingstarzengjx
热爱技术,对新技术充满好奇心。
展开
-
SpringCloud:java.lang.TypeNotPresentException: Type javax.xml.bind.JAXBContext not present
1. https://blog.youkuaiyun.com/weixin_45012575/article/details/100548253 因为JAXB-API是java ee的一部分,在jdk9中没有在默认的类路径中; 2.改为jdk1.8原创 2020-03-12 13:26:15 · 319 阅读 · 0 评论 -
The bean 'goods.FeignClientSpecification', defined in null, could not be registered. A bean with tha
*************************** APPLICATION FAILED TO START *************************** Description: The bean 'goods.FeignClientSpecification', defined in null, could not be registered. A bean with tha...原创 2019-11-27 23:39:08 · 1467 阅读 · 0 评论 -
SpringCloud详细笔记2
SpringCloud笔记2 1 SpringCloudFeign 1.2 Feign简介 Feign [feɪn] 译文 伪装。Feign是一个声明式WebService客户端。使用Feign能让编写WebService客户端更加简单,它的使用方法是定义一个接口,然后在上面添加注解。不再需要拼接URL,参数等操作。 项目主页:https://github.com/OpenFeign/feign...原创 2019-11-05 17:24:14 · 795 阅读 · 0 评论 -
Eureka添加负载均衡 @LoadBalanced//负载均衡 出错
原因:没有添加之前是通过url="http://"+serviceInstance.getHost()+":"+serviceInstance.getPort()+"/user/"+id; @RestController @RequestMapping(value = "consumer") public class UserContrller { @Autowired ...原创 2019-11-03 22:49:12 · 1269 阅读 · 0 评论