Commit 3b0b65ca authored by Phillip Webb's avatar Phillip Webb

Fix deprecation warning

parent fd6c0029
...@@ -725,11 +725,12 @@ public class TomcatEmbeddedServletContainerFactory ...@@ -725,11 +725,12 @@ public class TomcatEmbeddedServletContainerFactory
/** /**
* {@link LifecycleListener} that stores an empty merged web.xml. This is critical for * {@link LifecycleListener} that stores an empty merged web.xml. This is critical for
* Jasper to prevent warnings about missing web.xml files and to enable EL. * Jasper on Tomcat 7 to prevent warnings about missing web.xml files and to enable
* EL.
*/ */
private static class StoreMergedWebXmlListener implements LifecycleListener { private static class StoreMergedWebXmlListener implements LifecycleListener {
private final String MERGED_WEB_XML = org.apache.tomcat.util.scan.Constants.MERGED_WEB_XML; private final String MERGED_WEB_XML = "org.apache.tomcat.util.scan.MergedWebXml";
@Override @Override
public void lifecycleEvent(LifecycleEvent event) { public void lifecycleEvent(LifecycleEvent event) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment