dubbo 中 http://code.alibabatech.com/schema/dubbo/dubbo.xsd错误


org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

 

 解决方案

下载dubbo.xsd文件并将改文件添加到XML catalog element 中key值为xml文件中的连接,location为下载的文件路径

如果还不行进行如下操作

解决方案:

添加dubbo框架的jar包

<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dubbo</artifactId>
<version>2.5.5</version>
</dependency>


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM