<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: master branch</li>
<li>Operating System version: maxOS Catalina</li>
<li>Java version: 1.8.0_101</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>clone the project , master branch</li>
<li>mvn clean package  -Dmaven.test.skip=true</li>
</ol>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">Got Error</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ERROR] The build could not read 4 projects -&gt; [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 -&gt; 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 -&gt; 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 -&gt; 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 -&gt; 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"><pre class="notranslate"><code class="notranslate">[ERROR] The build could not read 4 projects -&gt; [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 -&gt; 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 -&gt; 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 -&gt; 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 -&gt; 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
</code></pre></div>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.0</li>
<li>Operating System version: windows</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>参考dubbo官网的rest协议使用例子来模拟<br>
<a href="http://dubbo.apache.org/zh-cn/docs/user/references/protocol/rest.html" rel="nofollow">http://dubbo.apache.org/zh-cn/docs/user/references/protocol/rest.html</a></li>
<li>按照上面链接中说的写法，分别尝试2.6.5版和2.7.0版就能看出差别。2.6.5版发布的rest服务能正常被访问，而2.7.0版的rest服务不能被访问。</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps？</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?<br>
2.7.0版的rest协议，无论是内嵌式(jetty或者tomcat)或者外部集成式（通过web.xml配置）都不起作用。2.6.5版却没问题。这是2.7.0版的一个bug.</p>
<p dir="auto">这个bug会导致restful接口无法正常访问。</p>