解决方案:要在pom.xml里面定义引入相应包的版本
2 Answers
1
Use the dependency with the specific version, current version at the moment of this writing is:
compile('org.springframework.cloud:spring-cloud-netflix-eureka-server:1.4.3.RELEASE')
You can find the latest available version number here.
For Spring Boot projects when you don't specify the dependency version, the special dependency management plug-in is used. For some reason it fails to provide the version for this specific dependency. See the related question.
answered Mar 16 '18 at 20:43
291k5353 gold badges680680 silver badges682682 bronze badges
-
Ahhh I see i see! thank you for explaining. Do you mind checking out this image and see if you can figure out why I am getting this error: imgur.com/a/5Dafv – Syn Mar 16 '18 at 21:20