From 24cfd2e7e5d9982eda688eaab4d64540d3ef1f9b Mon Sep 17 00:00:00 2001 From: chenparty <870300816@qq.com> Date: 星期日, 26 九月 2021 15:21:54 +0800 Subject: [PATCH] 修正首次打开页面报请求失败的提示 --- src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java b/src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java index 027efaf..56038bd 100644 --- a/src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java +++ b/src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java @@ -4,6 +4,7 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.boot.web.servlet.ServletComponentScan; import org.springframework.context.ConfigurableApplicationContext; import org.springframework.scheduling.annotation.EnableScheduling; import springfox.documentation.oas.annotations.EnableOpenApi; @@ -11,6 +12,7 @@ /** * */ +@ServletComponentScan("com.genersoft.iot.vmp.conf") @SpringBootApplication @EnableScheduling @EnableOpenApi -- Gitblit v1.8.0