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

前端 未结 9 1833
既然无缘
既然无缘 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:59

    Add the following in to your pom.xml  
    
    
            UTF-8
            UTF-8
            1.8
            Hoxton.RC1
    
    
        
                org.springframework.cloud
                spring-cloud-starter-netflix-eureka-client
        
    
        OR
    
        
                org.springframework.cloud
                spring-cloud-starter-netflix-eureka-server
        
    
        
            
                
                    org.springframework.cloud
                    spring-cloud-dependencies
                    ${spring-cloud.version}
                    pom
                    import
                
            
        
    
        
            
                spring-milestones
                Spring Milestones
                https://repo.spring.io/milestone
            
        
    

提交回复
热议问题