https://issues.apache.org/bugzilla/show_bug.cgi?id=52545
Bug #: 52545 Summary: Annotations are processed for servlet 2.4 applications Product: Tomcat 7 Version: 7.0.23 Platform: PC Status: NEW Severity: normal Priority: P2 Component: Servlet & JSP API AssignedTo: dev@tomcat.apache.org ReportedBy: eugene.petre...@jetbrains.com Classification: Unclassified Under Tomcat 7.0.23 I have an application with the following web.xml: <?xml version="1.0" encoding="UTF-8"?> <web-app id="BuildServer" 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"> <display-name>Jetbrains TeamCity</display-name> In debugger I see that metadata-complete parameter is set to 'false' meaning that Tomcat processes all of my classes to contain annotations. There are no annotated classes as I have a Servlet 2.4 API based application. I suppose Tomcat must not process annotations for 2.4 applications at all (as there is nothing for annotations processing in the spec) Upgrading to 2.5 with explicit metadata-complete="true" attribute fixed the issue. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org