Closed lianjunwei closed 2 years ago
<dependency> <groupId>org.redisson</groupId> <artifactId>redisson-spring-boot-starter</artifactId> <version>3.16.8</version> </dependency>
get 'servicebean' from spring context .
Map<String, ServiceBean> serviceBean = contextRefreshedEvent.getApplicationContext().getBeansOfType(ServiceBean.class);
3. result is empty.
Pls. provide [GitHub address] to reproduce this issue.
If there is an exception, please attach the exception trace:
Just put your stack trace here!
Although I received "contextrefreshedevent" for the first time and didn't get "servicebean", the "contextrefreshedevent" received after the second time works normally. I close this issue.
Environment
Steps to reproduce this issue
get 'servicebean' from spring context .
Pls. provide [GitHub address] to reproduce this issue.
Expected Behavior
Actual Behavior
If there is an exception, please attach the exception trace: