There is no schema defined for this pom.xml.的解决方法

打开pom.xml文件时收到如下提示:

There is no schema defined for this pom.xml. Code completion will not work without a schema defined.

将 改为:

<project xmlns="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">

即可。

参考链接:
http://code.google.com/p/springside/issues/detail?id=40

pom.xml文件参考:
http://maven.apache.org/pom.html

原文地址:https://www.cnblogs.com/shihao/p/2559015.html