I have a Spring Boot WAR application perfectly working under Tomcat 8.0.39 on AWS. After issuing sudo service tomcat8 stop
, upgrading to Tomcat 8.0.41 through <
There was a bug, that Tomcat 8 ignores the Class-Path header in the MANIFEST.MF file of a JAR, see Bug 59226:
Bug 59226 - StandardJarScanner ignores jars in manifest Class-path header
This bug was fixed with Tomcat 8.0.34, but it produced a lot of warnings for not required JARs, see Bug 59961:
Bug 59961 - Provide an option to disable processing of Class-Path entry in a jar's manifest file
Since Tomcat 8.0.38 you can disable the scan of the MANIFEST.MF
file, see The Jar Scanner Component:
scanManifest
If true, the Manifest files of any JARs found will be scanned for additional class path entires and those entries will be added to the URLs to scan. The default is true.