From 3f07ab2e03e501ae55d1d1b0d031daf50c8e13e5 Mon Sep 17 00:00:00 2001 From: dongyukun <1208714201@qq.com> Date: 星期二, 10 十二月 2024 17:27:44 +0800 Subject: [PATCH] common依赖排除父类 --- iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/XmcPmsServerApplication.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/XmcPmsServerApplication.java b/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/XmcPmsServerApplication.java index fc41f61..7e83c86 100644 --- a/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/XmcPmsServerApplication.java +++ b/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/XmcPmsServerApplication.java @@ -2,12 +2,14 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.context.annotation.ComponentScan; /** * 项目的启动类 * * @author iailab */ +@ComponentScan(basePackages = {"com.iailab.iems.common", "com.iailab.module.pms"}) @SpringBootApplication public class XmcPmsServerApplication { -- Gitblit v1.9.3