Java

Springboot项目启动报org.springframework.beans.factory.UnsatisfiedDependencyException

org.springframework.beans.factory.UnsatisfiedDependencyException:Errorcreatingbeanwithname'homeController':Unsatisfieddependencyexpressedthroughfield'homeServic...

我的分享:第六章:java系统高并发解决方案

给上链接:https://blog.csdn.net/jimmy609/article/details/37810591...

我的分享:第五章:对java调用第三方接口的分享

给上链接:https://blog.csdn.net/qq_35860138/article/details/82967727 ...

全文检索工具:第五章:Spring-data-elasticSearch搜索

<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-data-elasticsearch</artifactId></depende...

Spring Cloud:第三章:Ribbon客服端负载均衡

负载均衡是对系统的高可用、网络压力的缓解和处理能力扩容的重要手段。理解Ribbon对于我们使用SpringCloud来讲非常的重要。它是一个基于Http和TCP的客户端负载均衡工具。它不像服务注册中心、配置中心、API网关那样独立部署,但是它几乎存在于每个微服务的基础设施中。1、引入依赖<dependency&g...

Spring Cloud:第四章:Hystrix断路器

Hystrix“豪猪”,具有自我保护的能力。hystrix通过如下机制来解决雪崩效应问题。(1)线程池隔离模式:使用一个线程池来存储当前请求,线程池对请求作处理,设置任务返回处理超时时间,堆积的请求先入线程池队列。这种方式要为每个依赖服务申请线程池,有一定的资源消耗,好处是可以应对突发流量(流量洪峰来临时,处理不完可将...

Spring Cloud:第五章:Zuul服务网关

定义user,order,pay服务,定义zull服务网关服务都注册到eureka服务上,通过一下接口访问user,order,pay的服务,http://localhost:7070/pay/indexhttp://localhost:8080/user/indexhttp://localhost:9090/orde...

Spring Cloud:第六章:Config分布式配置

SpringCloudConfig为分布式系统中的外部配置提供服务器和客户端支持,使用ConfigServer,您可以在所有环境中管理应用程序的外部属性。客户端和服务器上的概念映射与SpringEnvironment和PropertySource抽象相同,  因此它们与Spring应用程序非常契合,但可以与任何以任何语...

我的分享:第二章:SpringCould专栏

个人觉得他写的还是比较好的,所以我就不写重复的了,给上博客地址:https://blog.csdn.net/ztx114/article/details/77963720 ...

Spring Cloud:第二章:eureka服务发现

服务注册中心:eureka-server新建一个springboot项目:eureka-server,其pom.xml配置如下:<properties><project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>...

java程序员怎么创建自己的网站:第四章:做个网站引入广告赚点小钱

为了节约开发时间先整一个小架构,网站初期访问不会太大,这套架构可以使用一段时间,废话不多说,开搞。<?xmlversion="1.0"encoding="UTF-8"?><projectxmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http:/...

@org.springframework.beans.factory.annotation.Autowired(required=true)

FieldidWorkerincom.macro.mall.portal.service.impl.OmsPortalOrderServiceImplrequiredabeanoftype'com.macro.mall.portal.util.IdWorker'thatcouldnotbefound. Des...

我的分享:第一章:SpringBoot专栏

个人觉得他写的还是比较好的,所以我就不写重复的了,给上博客地址:https://blog.csdn.net/wangb_java/category_9268684.html ...

org.springframework.amqp.rabbit.listener.exception.ListenerExecutionFailedException

org.springframework.amqp.rabbit.listener.exception.ListenerExecutionFailedException:Listenermethod'publicvoidcom.macro.mall.portal.component.PaySuccessReceiver....