下载老师的源码7-5,启动没有问题
然后我改成稳定版
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.3.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<spring-cloud.version>Finchley.RELEASE</spring-cloud.version>
启动就报错
Invalid bean definition with name 'myMessage' defined in com.huilian.order.message.StreamClient: bean definition with this name already exists - Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=com.huilian.order.message.StreamClient; factoryMethodName=output; initMethodName=null; destroyMethodName=null
SpringCloud组件实现微服务,【已升级Finchley.Release】
了解课程