apache/dubbo

AwaitingNonWebApplicationListener bug

Aberta

#13.722 aberto em 1 de fev. de 2024

 (4 comentários) (0 reação) (1 responsável)Java (26.453 forks)batch import
component/sdkgood first issuehelp wantedtype/bug

Métricas do repositório

Stars
 (41.524 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

  • 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!

Guia do colaborador