IDEA中Maven项目的pom.xml文件的 URI 报错

http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 

错误源:xmlns="http://maven.apache.org/POM/4.0.0"
相关提示:URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)

错误源:http://maven.apache.org/POM/4.0.0
相关提示:URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)

 

解决方式:鼠标光标定在报错行,按 Alt + Enter 选择 Fetch external resource 选项

参考:https://stackoverflow.com/questions/42569634/uri-is-not-registered-settings-languages-frameworks-schemas-and-dtds-in

你可能感兴趣的:(error)