<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> 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" checked=""> 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-SNAPSHOT</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">README file in 2.7.0 branch (<a href="https://github.com/apache/incubator-dubbo/blob/2.7.0-release/README.md">https://github.com/apache/incubator-dubbo/blob/2.7.0-release/README.md</a>) still using package name <code class="notranslate">com.alibaba.dubbo</code>, it should update to <code class="notranslate">org.apache.dubbo</code></p>
<ul dir="auto">
<li>[ x ] I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li>[ x ] I have checked the <a href="https://github.com/apache/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.2</li>
<li>Operating System version: mac</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>Define a interface, put <code class="notranslate">@Path</code> annotation on the implement class</li>
</ol>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public interface PureService {
    String hello(String name);
}

// implement class
@Component
@Service(protocol = {&quot;dubbo&quot;,&quot;rest&quot;}, version = &quot;1.0.0&quot;, group = &quot;test&quot;)
@Consumes({MediaType.APPLICATION_JSON})
@Produces({MediaType.APPLICATION_JSON})
@Path(&quot;/pure-service&quot;)
public class PureServiceImpl implements PureService{

    @GET
    @Path(&quot;hello&quot;)
    @Override
    public String hello(String name) {
        return &quot;hello &quot; + name;
    }
}"><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-k">interface</span> <span class="pl-smi">PureService</span> {
    <span class="pl-smi">String</span> <span class="pl-en">hello</span>(<span class="pl-smi">String</span> <span class="pl-s1">name</span>);
}

<span class="pl-c">// implement class</span>
<span class="pl-c1">@</span><span class="pl-c1">Component</span>
<span class="pl-c1">@</span><span class="pl-c1">Service</span>(<span class="pl-s1">protocol</span> = {<span class="pl-s">"dubbo"</span>,<span class="pl-s">"rest"</span>}, <span class="pl-s1">version</span> = <span class="pl-s">"1.0.0"</span>, <span class="pl-s1">group</span> = <span class="pl-s">"test"</span>)
<span class="pl-c1">@</span><span class="pl-c1">Consumes</span>({<span class="pl-smi">MediaType</span>.<span class="pl-c1">APPLICATION_JSON</span>})
<span class="pl-c1">@</span><span class="pl-c1">Produces</span>({<span class="pl-smi">MediaType</span>.<span class="pl-c1">APPLICATION_JSON</span>})
<span class="pl-c1">@</span><span class="pl-c1">Path</span>(<span class="pl-s">"/pure-service"</span>)
<span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-smi">PureServiceImpl</span> <span class="pl-k">implements</span> <span class="pl-smi">PureService</span>{

    <span class="pl-c1">@</span><span class="pl-c1">GET</span>
    <span class="pl-c1">@</span><span class="pl-c1">Path</span>(<span class="pl-s">"hello"</span>)
    <span class="pl-c1">@</span><span class="pl-c1">Override</span>
    <span class="pl-k">public</span> <span class="pl-smi">String</span> <span class="pl-en">hello</span>(<span class="pl-smi">String</span> <span class="pl-s1">name</span>) {
        <span class="pl-k">return</span> <span class="pl-s">"hello "</span> + <span class="pl-s1">name</span>;
    }
}</pre></div>
<ol start="2" dir="auto">
<li>It report exception when starting application<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4962716/64769066-33e84880-d57d-11e9-9cd1-beb0d7c90b74.jpg"><img src="https://user-images.githubusercontent.com/4962716/64769066-33e84880-d57d-11e9-9cd1-beb0d7c90b74.jpg" alt="16_47_11__09_12_2019" style="max-width: 100%;"></a></li>
<li>In RestProtocol class, it can not real implement class behind proxy.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4962716/64769400-d274a980-d57d-11e9-89c5-0109efc2c7b6.png"><img src="https://user-images.githubusercontent.com/4962716/64769400-d274a980-d57d-11e9-89c5-0109efc2c7b6.png" alt="image" style="max-width: 100%;"></a></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？<br>
It can normally start when putting <code class="notranslate">@Path</code> on the implement class</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div>