|
@@ -6,6 +6,7 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
|
|
import org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration;
|
|
|
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
|
|
|
import org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration;
|
|
|
+import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
|
|
|
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
|
|
|
|
|
|
/**
|
|
@@ -16,6 +17,7 @@ import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
|
|
|
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class,
|
|
|
JmxAutoConfiguration.class, ThymeleafAutoConfiguration.class })
|
|
|
@EnableEurekaServer
|
|
|
+@ConfigurationPropertiesScan
|
|
|
public class EurekaServerApplication {
|
|
|
|
|
|
public static void main(String[] args) {
|