Project build error: 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-eureka-server:jar is missing

前端 未结 9 1865
既然无缘
既然无缘 2021-02-19 03:01

I am developing a code from https://www.dineshonjava.com/microservices-with-spring-boot/. When I update the spring-boot-starter-parent from 1.5.4.RELEASE to 2

9条回答
  •  一整个雨季
    2021-02-19 03:44

    Add the following int the Pom.xml

    
            1.8
             Greenwich.RELEASE
     
    
    
    
                org.springframework.boot
                spring-boot-starter-webflux
            
            
                org.springframework.cloud
                spring-cloud-starter-netflix-eureka-client
            
    
        
    
        
            
                
                    org.springframework.cloud
                    spring-cloud-dependencies
                    ${spring-cloud.version}
                    pom
                    import
                
            
        
    

提交回复
热议问题