+++ This bug was initially created as a clone of Bug #45628 +++ Deploying webapps that contain commons-attributes-api.jar or commons-attributes-compiler.jar (downloaded from the Maven repository) fail with a message from ExtensionValidator along the lines of 'Required extension "ant" not found'. . . . Bug #45628 claims this was fixed in Apache 5.5.? and 6.0, but I'm using 7.0 and have this exact condition which keeps my context from running. INFO: ExtensionValidator[][commons-attributes-api-2.2.jar]: Required extension [ant] not found. Mar 25, 2014 9:05:01 AM org.apache.catalina.util.ExtensionValidator validateManifestResources INFO: ExtensionValidator[]: Failure to find [1] required extension(s). Mar 25, 2014 9:05:01 AM org.apache.catalina.core.StandardContext startInternal SEVERE: Error getConfigured Mar 25, 2014 9:05:01 AM org.apache.catalina.core.StandardContext startInternal SEVERE: Context [] startup failed due to previous errors Mar 25, 2014 9:05:13 AM org.apache.catalina.util.ExtensionValidator validateManifestResources INFO: ExtensionValidator[][commons-attributes-api-2.2.jar]: Required extension [ant] not found. Mar 25, 2014 9:05:13 AM org.apache.catalina.util.ExtensionValidator validateManifestResources INFO: ExtensionValidator[]: Failure to find [1] required extension(s). Mar 25, 2014 9:05:13 AM org.apache.catalina.core.StandardContext startInternal SEVERE: Error getConfigured Mar 25, 2014 9:05:13 AM org.apache.catalina.core.StandardContext startInternal SEVERE: Context [] startup failed due to previous errors
Just like bug 45628, there is no issue handling wrapped lines in manifest files. The error message is valid and correct. The extensions defined in the common-attributes-api.jar, on the other hand, looks to be invalid. The specified extension name doesn't match the extension name used in the Ant JARs.