为啥 IntelliJ 报告“URI 未注册”和 Attribute xsi: schemaLocation is not allowed here

Posted

技术标签:

【中文标题】为啥 IntelliJ 报告“URI 未注册”和 Attribute xsi: schemaLocation is not allowed here【英文标题】:Why IntelliJ is reporting "URI is not registered" and Attribute xsi: schemaLocation is not allowed here为什么 IntelliJ 报告“URI 未注册”和 Attribute xsi: schemaLocation is not allowed here 【发布时间】:2021-11-03 11:48:14 【问题描述】:

IntelliJ 显示两组错误(“URI 未注册(设置 | 语言和框架 | 架构和 DTD)”和“属性 xsi:此处不允许 schemaLocation”)并且无法构建。我该怎么办?

【问题讨论】:

【参考方案1】:

我通过以下方式解决了同样的问题:

    陈词滥调有问题的属性。 请按ALT+ENTER。 点击Fetch external resource

【讨论】:

以上是关于为啥 IntelliJ 报告“URI 未注册”和 Attribute xsi: schemaLocation is not allowed here的主要内容,如果未能解决你的问题,请参考以下文章

为啥 IntelliJ 找不到正确的 WebServlet 类?

为啥intellij idea安装eclipse code formatter插件装不上

为啥 IntelliJ 要我改变这个?

IDEA JetBrains IntelliJ - 'make' 上的编译错误,但使用 Maven 编译时很好,并且 IntelliJ 在类文件中没有报告错误

为啥 IntelliJ 中的一些 maven 项目是灰色的?

为啥刷新 Maven 存储库对于 IntelliJ 来说还不够?