diff --git a/jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/SpringContextUtils.java b/jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/SpringContextUtils.java index 8a6a4aa44..a40a93bb4 100644 --- a/jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/SpringContextUtils.java +++ b/jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/SpringContextUtils.java @@ -8,6 +8,7 @@ import org.jeecg.common.constant.ServiceNameConstants; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; +import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Component; import org.springframework.web.context.request.RequestContextHolder; import org.springframework.web.context.request.ServletRequestAttributes; @@ -16,6 +17,7 @@ import org.springframework.web.context.request.ServletRequestAttributes; * @Description: spring上下文工具类 * @author: jeecg-boot */ +@Lazy(false) @Component public class SpringContextUtils implements ApplicationContextAware { diff --git a/jeecg-boot/pom.xml b/jeecg-boot/pom.xml index 1bf95f4a1..92029babc 100644 --- a/jeecg-boot/pom.xml +++ b/jeecg-boot/pom.xml @@ -212,7 +212,7 @@ org.jeecgframework.boot jeecg-boot-starter3-job - ${jeecgboot.version} + 3.8.2-RC @@ -455,6 +455,10 @@ org.apache.calcite calcite-elasticsearch + + autopoi-web + org.jeecgframework +