This is an automated email from the ASF dual-hosted git repository.

eights pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 69633a2  fix: Api server startup fail (#2198)
69633a2 is described below

commit 69633a29c60ac1c98704a419952f4e1cf56ea518
Author: Rubik-W <[email protected]>
AuthorDate: Tue Mar 17 11:10:55 2020 +0800

    fix: Api server startup fail (#2198)
---
 .../java/org/apache/dolphinscheduler/api/ApiApplicationServer.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/ApiApplicationServer.java
 
b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/ApiApplicationServer.java
index 8376c28..5998ec5 100644
--- 
a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/ApiApplicationServer.java
+++ 
b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/ApiApplicationServer.java
@@ -25,7 +25,9 @@ import 
springfox.documentation.swagger2.annotations.EnableSwagger2;
 
 @SpringBootApplication
 @ServletComponentScan
-@ComponentScan("org.apache.dolphinscheduler")
+@ComponentScan({"org.apache.dolphinscheduler.api",
+        "org.apache.dolphinscheduler.dao",
+        "org.apache.dolphinscheduler.service"})
 public class ApiApplicationServer extends SpringBootServletInitializer {
 
   public static void main(String[] args) {

Reply via email to