[jboss-user] [JBoss Tools] - Re: Add JSF Capabilities in Eclipse says web.xml is malformed
Mikael Brodd
do-not-reply at jboss.com
Thu Dec 16 11:11:02 EST 2010
Mikael Brodd [http://community.jboss.org/people/mikael.brodd] created the discussion
"Re: Add JSF Capabilities in Eclipse says web.xml is malformed"
To view the discussion, visit: http://community.jboss.org/message/576456#576456
--------------------------------------------------------------
Hi,
what I meant was that the error message from the wizard points out the filter-mapping tag as the erroneous one. In the filter-mapping block, the JBoss tools wizard wants me to declare the dispatcher. So no, this is not the whole web.xml, only the affected part.
So the error message
+Web descriptor file is corrupted : Element type "dispatcher" must be declared+
points out the block
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
and wants to have <dispatcher> declared in some way. How do I do that?
N.B This is only an error from JBoss tools when I try to add JSF capabilities. The web.xml works fine in the web application.
+
+
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/576456#576456]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101216/eb3a34ce/attachment.html
More information about the jboss-user
mailing list