小编STA*_*AIN的帖子

WebServerException:无法启动嵌入式Tomcat | Spring Boot Eureka Server

在使用spring学习spring MVC的同时,我尝试使用教程创建一个Eureka客户端和服务器,它是一个简单的教程,带有客户端和服务器主类,只需注释并添加应用程序属性.但即使遵循教程,应用程序也不会运行tomcat.我仍然可以在本地服务器上使用tomcat运行我在spring boot中完成的其他项目.我遵循的教程是, https://dzone.com/articles/microservice-spring-cloud-eureka-server-configurat


2018-08-06 18:18:33.710  INFO 17919 --- [           main] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://localhost:8888
2018-08-06 18:18:33.810  INFO 17919 --- [           main] c.c.c.ConfigServicePropertySourceLocator : Connect Timeout Exception on Url - http://localhost:8888. Will be trying the next url if available
2018-08-06 18:18:33.810  WARN 17919 --- [           main] c.c.c.ConfigServicePropertySourceLocator : Could not locate PropertySource: I/O error on GET request for "http://localhost:8888/tuto-server/default": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused)
2018-08-06 18:18:33.811  INFO 17919 …
Run Code Online (Sandbox Code Playgroud)

spring-mvc spring-boot netflix-eureka

0
推荐指数
1
解决办法
3434
查看次数

标签 统计

netflix-eureka ×1

spring-boot ×1

spring-mvc ×1