<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>
<li>Operating System version: mac pro</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Step to reproduce this issue</h3>
<ol dir="auto">
<li>Assume that the configuration file contains the following configuration：</li>
</ol>
<div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;dubbo:reference id=&quot;demoService&quot; check=&quot;false&quot; interface=&quot;org.apache.dubbo.http2.DemoService&quot; protocol-config=&quot;http2&quot;/&gt;"><pre class="notranslate">&lt;<span class="pl-ent">dubbo</span><span class="pl-ent">:</span><span class="pl-ent">reference</span> <span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>demoService<span class="pl-pds">"</span></span> <span class="pl-e">check</span>=<span class="pl-s"><span class="pl-pds">"</span>false<span class="pl-pds">"</span></span> <span class="pl-e">interface</span>=<span class="pl-s"><span class="pl-pds">"</span>org.apache.dubbo.http2.DemoService<span class="pl-pds">"</span></span> <span class="pl-e">protocol-config</span>=<span class="pl-s"><span class="pl-pds">"</span>http2<span class="pl-pds">"</span></span>/&gt;</pre></div>
<ol start="2" dir="auto">
<li>Starting the application will give an error：</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Exception in thread &quot;main&quot; org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demoService': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'protocol-config' of bean class [org.apache.dubbo.config.spring.ReferenceBean]: Bean property 'protocol-config' is not writable or has an invalid setter method. Did you mean 'protocolConfig'?
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1570)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1280)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:742)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
	at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:139)
	at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:93)
	at org.apache.dubbo.http2.consumer.Consumer.main(Consumer.java:29)
Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'protocol-config' of bean class [org.apache.dubbo.config.spring.ReferenceBean]: Bean property 'protocol-config' is not writable or has an invalid setter method. Did you mean 'protocolConfig'?
	at org.springframework.beans.BeanWrapperImpl.createNotWritablePropertyException(BeanWrapperImpl.java:239)
	at org.springframework.beans.AbstractNestablePropertyAccessor.processLocalProperty(AbstractNestablePropertyAccessor.java:435)
	at org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:290)
	at org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:278)
	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:95)
	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1566)"><pre class="notranslate"><code class="notranslate">Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demoService': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'protocol-config' of bean class [org.apache.dubbo.config.spring.ReferenceBean]: Bean property 'protocol-config' is not writable or has an invalid setter method. Did you mean 'protocolConfig'?
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1570)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1280)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:742)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
	at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:139)
	at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:93)
	at org.apache.dubbo.http2.consumer.Consumer.main(Consumer.java:29)
Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'protocol-config' of bean class [org.apache.dubbo.config.spring.ReferenceBean]: Bean property 'protocol-config' is not writable or has an invalid setter method. Did you mean 'protocolConfig'?
	at org.springframework.beans.BeanWrapperImpl.createNotWritablePropertyException(BeanWrapperImpl.java:239)
	at org.springframework.beans.AbstractNestablePropertyAccessor.processLocalProperty(AbstractNestablePropertyAccessor.java:435)
	at org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:290)
	at org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:278)
	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:95)
	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1566)
</code></pre></div>
<ul dir="auto">
<li>[yes] 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>[yes] 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:  excute "git clone <a href="https://github.com/apache/dubbo.git">https://github.com/apache/dubbo.git</a>" just now</li>
<li>Operating System version:  windows10</li>
<li>Java version: java8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">read the <a href="https://dubbo.apache.org/en-us/docs/admin/install/provider-demo.html" rel="nofollow">document</a>.<br>
1.<br>
excute <code class="notranslate">git clone https://github.com/apache/dubbo.git  ./dubbo</code><br>
2.<br>
start IDEA and then ask IDEA to open "./dubbo". Then IDEA automatically calls maven to download dependencies.<br>
3.<br>
It is reported that "Cannot resolve plugin org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0"<br>
4.<br>
Ignore the error reported in the third step. Find the <code class="notranslate">org.apache.dubbo.demo.provider.Application</code> according to the documentation. And then try to run it by IDEA. (Zookeeper is running normally.)<br>
5.<br>
It's reported that build failed.<br>
"Build completed with 3 errors and 100 warnings ..."<br>
the 3 errors:</p>
<blockquote>
<p dir="auto">D:\JAVA\projects\dubbo\dubbo-config\dubbo-config-api\src\test\java\org\apache\dubbo\config\bootstrap\rest\UserService.java<br>
Error:(22, 50) java: 程序包org.apache.dubbo.rpc.protocol.rest.support不存在<br>
Error:(37, 12) java: 找不到符号<br>
符号: 变量 ContentType<br>
Error:(37, 48) java: 找不到符号<br>
符号: 变量 ContentType</p>
</blockquote>
<p dir="auto">after google translator translate:</p>
<blockquote>
<p dir="auto">D:\JAVA\projects\dubbo\dubbo-config\dubbo-config-api\src\test\java\org\apache\dubbo\config\bootstrap\rest\UserService.java<br>
Error:(22, 50) java: The package org.apache.dubbo.rpc.protocol.rest.support does not exist<br>
Error:(37, 12) java: Symbol not found<br>
Symbol: Variable ContentType<br>
Error::(37, 48)  java: Symbol not found<br>
Symbol: Variable ContentType</p>
</blockquote>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">The error reported in the third step and the fifth step no longer appears.</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">Please see the third and fifth steps in Chapter ”Steps to reproduce this issue“.</p>
<p dir="auto">Thanks.</p>