Issue 1:
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-SNAPSHOT

Operating System version: mac pro

Java version: 1.8

Step to reproduce this issue

Assume that the configuration file contains the following configuration：

<dubbo:reference id="demoService" check="false" interface="org.apache.dubbo.http2.DemoService" protocol-config="http2"/>

Starting the application will give an error：

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.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(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)

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

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

Environment

Dubbo version: excute "git clone https://github.com/apache/dubbo.git" just now

Operating System version: windows10

Java version: java8

Steps to reproduce this issue

read the document.

1.

excute git clone https://github.com/apache/dubbo.git ./dubbo

2.

start IDEA and then ask IDEA to open "./dubbo". Then IDEA automatically calls maven to download dependencies.

3.

It is reported that "Cannot resolve plugin org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0"

4.

Ignore the error reported in the third step. Find the org.apache.dubbo.demo.provider.Application according to the documentation. And then try to run it by IDEA. (Zookeeper is running normally.)

5.

It's reported that build failed.

"Build completed with 3 errors and 100 warnings ..."

the 3 errors:

D:\JAVA\projects\dubbo\dubbo-config\dubbo-config-api\src\test\java\org\apache\dubbo\config\bootstrap\rest\UserService.java

Error:(22, 50) java: 程序包org.apache.dubbo.rpc.protocol.rest.support不存在

Error:(37, 12) java: 找不到符号

符号: 变量 ContentType

Error:(37, 48) java: 找不到符号

符号: 变量 ContentType

after google translator translate:

D:\JAVA\projects\dubbo\dubbo-config\dubbo-config-api\src\test\java\org\apache\dubbo\config\bootstrap\rest\UserService.java

Error:(22, 50) java: The package org.apache.dubbo.rpc.protocol.rest.support does not exist

Error:(37, 12) java: Symbol not found

Symbol: Variable ContentType

Error::(37, 48) java: Symbol not found

Symbol: Variable ContentType

Expected Result

The error reported in the third step and the fifth step no longer appears.

Actual Result

Please see the third and fifth steps in Chapter ”Steps to reproduce this issue“.

Thanks.