您的位置:首页 > 其它

web.xml错误处理

2015-07-21 09:55 232 查看

web.xml 错误

cvc-complex-type.2.3: Element ‘web-app’ cannot have character [children], because the type’s content

[code]<web-app
     xmlns="http://java.sun.com/xml/ns/j2ee"
     version="2.4"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
            http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">[/code] 
修改为:

[code]<web-app
     xmlns="http://java.sun.com/xml/ns/j2ee"
     version="2.4"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
            http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">[/code]
                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: