When parsing my web.xml file (partially listed below)
<web-app version=”2.4″
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”>
<filter>
<filter-name>SessionFilter</filter-name>
<description>Filter to handle Hibernate Session</description>
<filter-class>com.cpex.mpv.persistence.SessionFilter</filter-class>
</filter>
I get the following error:
cvc-complex-type.2.4.a: Invalid content was found starting with element ‘description’. One of ‘{“http://java.sun.com/xml/ns/j2ee”:filter-class}’ is expected. web.xml MPV 2.01 (ROOT)/WebRoot/WEB-INF line 9
The only way to get it to parse correctly is to remove the <description/> tag altogether. Is there a way to get ME 3.8.4 to recognize the <xsd:group ref=”j2ee:descriptionGroup”/> portion of the filterType declaration?
Thanks,
Chase