NoSuchMethodError when using dubbo 2.7.9
locuslin opened this issue · 4 comments
locuslin commented
dubbo-spring-boot version:2.7.8
dubbo version: 2.7.9
There is an error in DubboAutoConfiguration.java on line 83。
@Override
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
if (applicationContext instanceof ConfigurableApplicationContext) {
ConfigurableApplicationContext context = (ConfigurableApplicationContext) applicationContext;
DubboLifecycleComponentApplicationListener dubboLifecycleComponentApplicationListener
= new DubboLifecycleComponentApplicationListener();
dubboLifecycleComponentApplicationListener.setApplicationContext(applicationContext);
context.addApplicationListener(dubboLifecycleComponentApplicationListener);
DubboBootstrapApplicationListener dubboBootstrapApplicationListener = new DubboBootstrapApplicationListener();
dubboBootstrapApplicationListener.setApplicationContext(applicationContext);
context.addApplicationListener(dubboBootstrapApplicationListener);
}
}
DubboLifecycleComponentApplicationListener
changed its construtor, and it requires ApplicationContext
,the same as DubboBootstrapApplicationListener
.
Johnson-Jia commented
臣附议,,赶紧改!!!
AlbumenJ commented
this would be fixed in apache/dubbo#7357
cssliuzhy commented
2.7.9 还不发布呢?
AlbumenJ commented
Dubbo Spring Boot 2.7.9 has been released, pls try upgrade to it