【文件属性】:
文件名称:Eureka
文件大小:53KB
文件格式:PDF
更新时间:2021-01-07 10:24:47
eureka
一、编写Eureka Server
1.1 添加依赖
org.springframework.cloud
spring-cloud-starter-netflix-eureka-server
2.1.1.RELEASE
1.2 编写启动类
@SpringBootApplication
@EnableEurekaServer
public class EurekaApplication
{
public static void main( String[] args )
{
SpringApplication.ru