apache/dubbo

AwaitingNonWebApplicationListener bug

开放

#13,722 创建于 2024年2月1日

 (4 条评论) (0 个反应) (1 位负责人)Java (26,453 个派生)batch import
component/sdkgood first issuehelp wantedtype/bug

仓库指标

星标
 (41,524 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

  • I have searched the issues of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 3.2.6
  • Operating System version: xxx
  • Java version: 21

Steps to reproduce this issue

  1. 依赖加入 spring-cloud-starter-bootstrap,没有任何的容器时

Pls. provide [GitHub address] to reproduce this issue.

Expected Behavior

AwaitingNonWebApplicationListener ,await()方法生效。

Actual Behavior

AwaitingNonWebApplicationListener ,await()方法不生效。

由于 加入spring-cloud-starter-bootstrap 包时 isRootApplicationContext(applicationContext)存在parent contenxt If there is an exception, please attach the exception trace:

Just put your stack trace here!

贡献者指南