如何修复Eclipse上的maven警告;没有为此pom.xml“定义架构”;

如何修复Eclipse上的maven警告;没有为此pom.xml“定义架构”;,eclipse,maven,pom.xml,Eclipse,Maven,Pom.xml,下面是非常简单的pom.xml: <project> <modelVersion>4.0.0</modelVersion> <groupId>com.mycompany</groupId> <artifactId>kafka-utils</artifactId> <version>1.1.1</version> <dependencies> <dep

下面是非常简单的pom.xml:

<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.mycompany</groupId>
  <artifactId>kafka-utils</artifactId>
  <version>1.1.1</version>

  <dependencies>
<dependency>
    <groupId>org.apache.kafka</groupId>
    <artifactId>kafka-clients</artifactId>
    <version>0.10.0.0</version>
</dependency>
  </dependencies>

</project>
见下图:


就像错误所说的那样,您缺少模式声明


There is no schema defined for this pom.xml!