V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
doctli
V2EX  ›  问与答

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

  •  
  •   doctli · 2016-11-25 09:47:32 +08:00 · 6355 次点击
    这是一个创建于 2681 天前的主题,其中的信息可能已经有所发展或是发生改变。

    阿里的域名关闭了,只能引用本地的 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.

    5 条回复    2016-11-25 12:22:44 +08:00
    24
        1
    24  
       2016-11-25 10:11:50 +08:00   ❤️ 1
    Settings -- Languages & Frameworks -- Schemas and DTDs
    doctli
        2
    doctli  
    OP
       2016-11-25 10:16:20 +08:00
    @24
    能具体点么 添加一个 XML Catalog 具体是怎么操作
    jakes
        3
    jakes  
       2016-11-25 10:33:35 +08:00   ❤️ 1
    1L 已经讲得很明白了
    doctli
        4
    doctli  
    OP
       2016-11-25 10:37:25 +08:00
    24
        5
    24  
       2016-11-25 12:22:44 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5219 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 07:22 · PVG 15:22 · LAX 00:22 · JFK 03:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.