I'm using tomcat 7.0.29, embedded.

My web.xml web-app element looks like:

<web-app 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_3_0.xsd";
         version="3.0"
         metadata-complete="true"
        >

Yet, in ContextConfig.webConfig, isMetadataComplete() returns false, and
annotation processing happens. And, to make my day, it runs out of memory.

Reply via email to