- [x] I have searched the 
[issues](https://github.com/apache/incubator-dubbo/issues) of this repository 
and believe that this is not a duplicate.
- [x] I have checked the 
[FAQ](https://github.com/apache/incubator-dubbo/blob/master/FAQ.md) of this 
repository and believe that this is not a duplicate.

### Environment

* Dubbo version: master branch, latest code as of 9/8/2018.
* Operating System version: not os specific 
* Java version: 1.8

### Step to reproduce this issue
1. Checkout the latest code, using git clone. 
2. import all projects as maven projects in eclipse. 
3. Do a full build

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

### Expected Result

What do you expected from the above steps?
There should be no validation error
### Actual Result
There are several xml/xsd validation errors reported on “dubbo-config-spring” 
project:
Description     Resource        Path    Location        Type
cvc-complex-type.2.2: Element 'name' must have no element [children], and the 
value must be valid.      web-fragment.xml        
/dubbo-config-spring/src/main/resources/META-INF        line 5  XML Problem
cvc-elt.1: Cannot find the declaration of element 'beans'.      
provider-nested-service.xml     
/dubbo-config-spring/src/test/resources/org/apache/dubbo/config/spring  line 22 
XML Problem
cvc-pattern-valid: Value 'dubbo-fragment' is not facet-valid with respect to 
pattern '($|_|\p{L})(\p{L}|\p{Nd}|_|$)*' for type 'null'.  web-fragment.xml     
   /dubbo-config-spring/src/main/resources/META-INF        line 5  XML Problem
Referenced file contains errors (http://dubbo.apache.org/schema/dubbo).  For 
more information, right click on the message in the Problems View and select 
"Show Details..."     annotation-consumer.xml 
/dubbo-config-spring/src/test/resources/org/apache/dubbo/config/spring  line 1  
XML Problem
src-resolve: Cannot resolve the name 'beans:property' to a(n) 'element 
declaration' component.  dubbo.xsd       
/dubbo-config-spring/src/main/resources/META-INF        line 1106       XML 
Schema Problem
src-resolve: Cannot resolve the name 'beans:property' to a(n) 'element 
declaration' component.  dubbo.xsd       
/dubbo-config-spring/src/main/resources/META-INF/compat line 1112       XML 
Schema Problem
escription      Resource        Path    Location        Type
cvc-complex-type.2.2: Element 'name' must have no element [children], and the 
value must be valid.      web-fragment.xml        
/dubbo-config-spring/src/main/resources/META-INF        line 5  XML Problem
cvc-elt.1: Cannot find the declaration of element 'beans'.      
provider-nested-service.xml     
/dubbo-config-spring/src/test/resources/org/apache/dubbo/config/spring  line 22 
XML Problem
cvc-pattern-valid: Value 'dubbo-fragment' is not facet-valid with respect to 
pattern '($|_|\p{L})(\p{L}|\p{Nd}|_|$)*' for type 'null'.  web-fragment.xml     
   /dubbo-config-spring/src/main/resources/META-INF        line 5  XML Problem
Referenced file contains errors (http://dubbo.apache.org/schema/dubbo).  For 
more information, right click on the message in the Problems View and select 
"Show Details..."     annotation-consumer.xml 
/dubbo-config-spring/src/test/resources/org/apache/dubbo/config/spring  line 1  
XML Problem
src-resolve: Cannot resolve the name 'beans:property' to a(n) 'element 
declaration' component.  dubbo.xsd       
/dubbo-config-spring/src/main/resources/META-INF        line 1106       XML 
Schema Problem
src-resolve: Cannot resolve the name 'beans:property' to a(n) 'element 
declaration' component.  dubbo.xsd       
/dubbo-config-spring/src/main/resources/META-INF/compat line 1112       XML 
Schema Problem

![image](https://user-images.githubusercontent.com/1620432/45254268-2582b200-b3a8-11e8-8c81-af517d1bc37f.png)

What is actually happen?


If there is an exception, please attach the exception trace:

```
Just put your stack trace here!
```


[ Full content available at: 
https://github.com/apache/incubator-dubbo/issues/2471 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to