ConfigApplication.java 501 字节
Newer Older
1 2 3 4 5
package com.kwan.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
Q
qinyingjie 已提交
6
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
7

Q
qinyingjie 已提交
8
@EnableEurekaClient
9 10 11 12 13 14 15 16 17 18
@EnableConfigServer
@SpringBootApplication
public class ConfigApplication {

    public static void main(String[] args) {

        SpringApplication.run(ConfigApplication.class, args);
    }

}