Hello Lazar, thanks for the report, created https://issues.apache.org/jira/browse/TOMEE-1899
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2016-08-11 8:40 GMT+02:00 Lazar Kirchev <[email protected]>: > 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 >
