diff --git a/springcloud-service-portal/src/main/java/com/kwan/springcloud/PortalApplication.java b/springcloud-service-portal/src/main/java/com/kwan/springcloud/PortalApplication.java index 736622f8b2e6429344bb5ef4d0f51656a8dfec2b..2eeef9d4eaf1c44dd2578eead0e86614120d0ef3 100644 --- a/springcloud-service-portal/src/main/java/com/kwan/springcloud/PortalApplication.java +++ b/springcloud-service-portal/src/main/java/com/kwan/springcloud/PortalApplication.java @@ -9,6 +9,7 @@ import org.springframework.cloud.netflix.eureka.EnableEurekaClient; public class PortalApplication { public static void main(String[] args) { + SpringApplication.run(PortalApplication.class, args); }