Issue 1:
Environment

Dubbo version: master branch

Operating System version: maxOS Catalina

Java version: 1.8.0_101

Steps to reproduce this issue

clone the project , master branch

mvn clean package -Dmaven.test.skip=true

Actual Result

Got Error

[ERROR] The build could not read 4 projects -> [Help 1]
[ERROR]
[ERROR] The project org.apache.dubbo:dubbo-demo-xml-consumer:2.7.5-SNAPSHOT (/Users/xiang/open_source/dubbo/dubbo/dubbo-demo/dubbo-demo-xml/dubbo-demo-xml-consumer/pom.xml) has 1 error
[ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.dubbo:dubbo-metadata-report-zookeeper:jar -> duplicate declaration of version (?) @ org.apache.dubbo:dubbo-demo-xml-consumer:[unknown-version], /Users/xiang/open_source/dubbo/dubbo/dubbo-demo/dubbo-demo-xml/dubbo-demo-xml-consumer/pom.xml, line 70, column 21
[ERROR]
[ERROR] The project org.apache.dubbo:dubbo-dependencies-bom:2.7.5-SNAPSHOT (/Users/xiang/open_source/dubbo/dubbo/dubbo-dependencies-bom/pom.xml) has 1 error
[ERROR] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.etcd:jetcd-launcher:jar -> version ${jetcd_version} vs ${etcd_launcher_version} @ org.apache.dubbo:dubbo-dependencies-bom:${revision}, /Users/xiang/open_source/dubbo/dubbo/dubbo-dependencies-bom/pom.xml, line 628, column 25
[ERROR]
[ERROR] The project org.apache.dubbo:dubbo-bom:2.7.5-SNAPSHOT (/Users/xiang/open_source/dubbo/dubbo/dubbo-bom/pom.xml) has 1 error
[ERROR] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.dubbo:dubbo-metadata-api:jar -> duplicate declaration of version ${project.version} @ org.apache.dubbo:dubbo-bom:[unknown-version], /Users/xiang/open_source/dubbo/dubbo/dubbo-bom/pom.xml, line 377, column 25
[ERROR]
[ERROR] The project org.apache.dubbo:dubbo-bootstrap-api:2.7.5-SNAPSHOT (/Users/xiang/open_source/dubbo/dubbo/dubbo-bootstrap/dubbo-bootstrap-api/pom.xml) has 1 error
[ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.dubbo:dubbo-registry-nacos:jar -> duplicate declaration of version ${project.parent.version} @ org.apache.dubbo:dubbo-bootstrap-api:[unknown-version], /Users/xiang/open_source/dubbo/dubbo/dubbo-bootstrap/dubbo-bootstrap-api/pom.xml, line 132, column 21
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

Issue 2:
I have searched the issues of this repository and believe that this is not a duplicate.

I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.0

Operating System version: windows

Java version: 1.8

Steps to reproduce this issue

参考dubbo官网的rest协议使用例子来模拟

http://dubbo.apache.org/zh-cn/docs/user/references/protocol/rest.html

按照上面链接中说的写法，分别尝试2.6.5版和2.7.0版就能看出差别。2.6.5版发布的rest服务能正常被访问，而2.7.0版的rest服务不能被访问。

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

What do you expected from the above steps？

Actual Result

What actually happens?

2.7.0版的rest协议，无论是内嵌式(jetty或者tomcat)或者外部集成式（通过web.xml配置）都不起作用。2.6.5版却没问题。这是2.7.0版的一个bug.

这个bug会导致restful接口无法正常访问。