Cannot resolve symbol for EnableEurekaServer in intelliJ. Yes I have the dependency/invalidated+rest

https://stackoverflow.com/questions/49328567/cannot-resolve-symbol-for-enableeurekaserver-in-intellij-yes-i-have-the-depende

 

Solution: To define the introduction of the corresponding version of the package inside the pom.xml

2 Answers

active oldest votes

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.

shareimprove this answer

answered Mar 16 '18 at 20:43

CrazyCoder

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

Published 107 original articles · won praise 36 · Views 1.23 million +

Guess you like

Origin blog.csdn.net/zoucui/article/details/95989886