Commit d34ef1fb by Nepxion

增加Spring Boot Admin功能

parent bc63043e
...@@ -46,7 +46,9 @@ ...@@ -46,7 +46,9 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-eureka</artifactId> <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
<!-- <artifactId>spring-cloud-starter-consul-discovery</artifactId> -->
<!-- <artifactId>spring-cloud-starter-zookeeper-discovery</artifactId> -->
</dependency> </dependency>
<dependency> <dependency>
......
...@@ -9,7 +9,7 @@ package com.nepxion.discovery.admin.example; ...@@ -9,7 +9,7 @@ package com.nepxion.discovery.admin.example;
* @version 1.0 * @version 1.0
*/ */
import de.codecentric.boot.admin.config.EnableAdminServer; import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.builder.SpringApplicationBuilder;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment