Window - Preferences - XML - XML Catalog - Add - File System - 选择你的dubbo.xsd - key(改为http://code.alibabatech.com/schema/dubbo/dubbo.xsd)
配置文件中使用上面的key
<beans xmlns:dubbo="http://code.alibabatech.com/schema/dubbo
xsi:schemaLocation="http://code.alibabatech.com/schema/dubbo
http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
...
</beans>