Hello,

I noticed that TomEE 7.0.1 does not recognize the servlet 3.1 web.xml
element deny-uncovered-http-methods. Deploying an application with this
element in the descriptor results in the following exception:
org.apache.openejb.OpenEJBException: Cannot unmarshall the web.xml file:
file:/C:/apache-tomee-plume-7.0.1/webapps/example/WEB-INF/web.xml:
Unexpected element {
http://xmlns.jcp.org/xml/ns/javaee}deny-uncovered-http-methods, expected
[<list_of_expected_descriptor_elements>]

Probably a class for this element should be created in package
org.apache.openejb.jee and added to the constructor of
org.apache.openejb.jee.WebApp$JAXB?

Regards,
Lazar

Reply via email to