1.1.打开设置 2.找到Languages&Frameworks——Schemas and DTDs 3.右侧的External Schemas and DTDs窗口中点击添加按钮,然后url上把链接粘贴上 4.选择自己本地的dtd文件