dubbo2.7

1:zk客户端默认改为actuator-frame(pom依赖增加)

2:dubbo配置顶级,原来在spring

3:启动类注解改为 
@EnableDubbo

4:pom坐标变更-包路径改为org.apache

5:配置 

dubbo.scan  -> dubbo.scan.base-packages (or  basePackages)

6:dubbo-2.7.5(2.7.3bug)  现象:javassist.CannotCompileException: [source error] not available in a static method: handler

[Dubbo-4647] The compilation of static methods should be excluded when generating the proxy #4649

dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/Proxy.java 161-163 行 增加如下判断

if (ics[i].isInterface() && Modifier.isStatic(method.getModifiers())) {
continue;
}

7:provider配置变更,增加以下配置

dubbo.application.id=

dubbo.protocol.id=dubbo

dubbo.protocol.name=dubbo

https://github.com/apache/dubbo/issues/5669

原文地址:https://www.cnblogs.com/zhonghuahero/p/13051539.html