解决方案 »
- 超级老问题,mysql java编码问题
- JBPM3 No row with the given identifier exists
- 我是新生,希望各位可以帮我一下啦!!!
- XFIRE WEB SERVICE WS-SECURITY 问题?
- 用j2ee设计一个通信系统
- Resin中运行servlet的问题
- 用AXIS怎样实现非同步的Webservice(送100分)
- Enterprise JavaBeansTM Specification, 谁有中文给我,谢谢!
- 急,请教EJB发布问题,finder方法错误,
- 需:Swing教材,Java类库参考手册,Java&XML教材 的ebook
- 求一个摇奖的算法或者思路
- ssh2+jasper的奇怪问题,大家来帮忙!
xmlns="http://java.sun.com/xml/ns/j2ee"
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">
这一段报的一下错误:
Multiple annotations found at this line:
- Attribute "xmlns:xsi" must be declared for element type "web-app".
- Attribute "version" must be declared for element type "web-app".
- Attribute "xsi:schemaLocation" must be declared for element type "web-app".
- The content of element type "web-app" must match "(icon?,display-
name?,description?,distributable?,context-param*,filter*,filter-
mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-
list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-
config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
- cvc-complex-type.2.3: Element 'web-app' cannot have character [children], because the
type's content type is element-only.
- Attribute "xmlns" must be declared for element type "web-app".
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">