WebServerException: Unable to start embedded Tomcat & was unable to refresh its cache! status 异常

Question 1
WebServerException: Unable to start embedded Tomcat

我遇到的是maven中版本问题,springcloud项目中中springboot版本过高,下图:springboot报错版本为2.2.2.release,选择低版本后解决。(吐槽:springcloud中springboot中的版本兼容性简直是天坑)
WebServerException: Unable to start embedded Tomcat & was unable to refresh its cache! status 异常

Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2019-12-26 17:09:25.194 ERROR 19796 — [ main] o.s.boot.SpringApplication : Application run failed

org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:156) ~[spring-boot-2.2.2.RELEASE.jar:2.2.2.RELEASE]

WebServerException: Unable to start embedded Tomcat & was unable to refresh its cache! status 异常

QUESTION 2
无法进行服务注册:百度后发现,是我自己定义了服务名,导致找不到
was unable to refresh its cache! status=Cannot execute request on any known server

解决办法:
https://blog.****.net/feixiangzaitianye/article/details/97631144
服务中心url后缀必须是eureka
完成后服务中心可见服务