web.xml Attribute "xmlns" was already specified for element "web-app"

报错信息:Attribute "xmlns" was already specified for element "web-app"
由于项目的重命名,出现了xmlns的重复赋值,这可能是eclipse自己设定的一种方式,重新为项目匹配合适的配置。
 
<web-app xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” 
xmlns=”http://java.sun.com/xml/ns/javaee” 
xmlns:web=“http://java.sun.com/xml/ns/javaee” 
xmlns=”http://java.sun.com/xml/ns/javaee” 
xsi:schemaLocation=“http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd” version=“2.5″>
 
删除其中一个即可
 
 
posted @ 2017-01-12 10:20  dailyer  阅读(647)  评论(0编辑  收藏  举报