The solution of applicationContext.xml reporting error when using dubbo
Introduction
Recently, I was preparing lessons for the new Xiaoqiang performance test class. When I was sorting out dubbo, I always reported errors from applicationContext.xml. I was also the best. Finally, I checked some information and finally solved the problem.
Solution
Copy the dubbo.xsd file separately in the jar package of dubbo
The configuration in eclipse is as follows:
Windows- > preferrence- > xml- > xml Catalog
Add- > catalog entry-> file system
Click file System to select the dubbo.xsd file
Enter the key value http://code.alibabatech.com/schema/dubbo/dubbo.xsd
Ok save
Then right-click on the applicationContext.xml file and select validate
This will be all right!
Advertise it widely.
The new book "Xiaoqiang Software testing Crazy handout-performance and Automation" has been published and can be purchased by searching for the title of the book on all major e-commerce websites.
Publishing house flagship store purchase address: https://detail.tmall.com/item.htm?id=547310727717