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

posted @ 2012-06-22 22:19  ChaunceyHao  阅读(632)  评论(0)    收藏  举报