We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3576b54 commit d01c1d7Copy full SHA for d01c1d7
1 file changed
jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/SpringContextUtils.java
@@ -8,6 +8,7 @@
8
import org.springframework.beans.BeansException;
9
import org.springframework.context.ApplicationContext;
10
import org.springframework.context.ApplicationContextAware;
11
+import org.springframework.context.annotation.Lazy;
12
import org.springframework.stereotype.Component;
13
import org.springframework.web.context.request.RequestContextHolder;
14
import org.springframework.web.context.request.ServletRequestAttributes;
@@ -16,6 +17,7 @@
16
17
* @Description: spring上下文工具类
18
* @author: jeecg-boot
19
*/
20
+@Lazy(false)
21
@Component
22
public class SpringContextUtils implements ApplicationContextAware {
23
0 commit comments