IDEA 下,如何解决 Failed to read schema document '...dubbo.xsd' 无法读取文档

2016-11-25 09:47:32 +08:00
 doctli

阿里的域名关闭了,只能引用本地的 dubbo.xsd ,这在 Eclipse 中就是添加一条记录就好了 最近转到 IDEA 下,搜索了一圈没找到解决方法,诸位有遇到这种问题么

org.xml.sax.SAXParseException; lineNumber: 14; columnNumber: 77; 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.

6378 次点击
所在节点    问与答
5 条回复
24
2016-11-25 10:11:50 +08:00
Settings -- Languages & Frameworks -- Schemas and DTDs
doctli
2016-11-25 10:16:20 +08:00
@24
能具体点么 添加一个 XML Catalog 具体是怎么操作
jakes
2016-11-25 10:33:35 +08:00
1L 已经讲得很明白了
doctli
2016-11-25 10:37:25 +08:00
24
2016-11-25 12:22:44 +08:00

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/323150

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX