From f28a9c697c5aeb5bf7a6cba37c2255717d8c8b04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Cocula?= Date: Sun, 27 Aug 2017 16:32:17 +0200 Subject: [PATCH] FIX : reference to TomcatApplication class was broken. --- .../src/main/java/org/airsonic/player/Application.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airsonic-main/src/main/java/org/airsonic/player/Application.java b/airsonic-main/src/main/java/org/airsonic/player/Application.java index 9935421e..3f476853 100644 --- a/airsonic-main/src/main/java/org/airsonic/player/Application.java +++ b/airsonic-main/src/main/java/org/airsonic/player/Application.java @@ -199,7 +199,7 @@ public class Application extends SpringBootServletInitializer implements Embedde if(tomcatESCF.isInstance(container)) { LOG.debug("Attempting to optimize tomcat"); Object tomcatESCFInstance = tomcatESCF.cast(container); - Class tomcatApplicationClass = Class.forName("TomcatApplication"); + Class tomcatApplicationClass = Class.forName("org.airsonic.player.TomcatApplication"); Method configure = ReflectionUtils.findMethod(tomcatApplicationClass, "configure", tomcatESCF); configure.invoke(null, tomcatESCFInstance); LOG.debug("Tomcat optimizations complete");