用nacos做dubbo的注册中心时,使用2.7.6版本的dubbo结果爆出该异常,后来换成2.7.3版本便莫名解决了这个问题:貌似和dubbo的DubboApplicationContextInitializer机制有关特此记录问题以便以后解决,参考博客:https://www.jianshu.com/p/3f8f363aa475
java.lang.NoClassDefFoundError: org/apache/dubbo/config/spring/util/BeanRegistrar
at org.apache.dubbo.spring.boot.beans.factory.config.OverrideBeanDefinitionRegistryPostProcessor.postProcessBeanDefinitionRegistry(OverrideBeanDefinitionRegistryPostProcessor.java:36) ~[dubbo-spring-boot-autoconfigure-compatible-2.7.1.jar:2.7.1]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:70) ~[spring-context-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:706) ~[spring-context-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refr