在使用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)