From 44de72c602d7bf15c18fc6f1482f3a1720c1b919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Cocula?= Date: Sat, 31 Dec 2016 19:03:44 +0100 Subject: [PATCH] revert commit edd5cc9dd12aadd3aff1abff04d31c9cb8d2a559 --- .../src/main/java/org/libresonic/player/boot/Application.java | 2 +- libresonic-main/src/main/resources/libresonic-servlet.xml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libresonic-main/src/main/java/org/libresonic/player/boot/Application.java b/libresonic-main/src/main/java/org/libresonic/player/boot/Application.java index 701d597c..86f40157 100644 --- a/libresonic-main/src/main/java/org/libresonic/player/boot/Application.java +++ b/libresonic-main/src/main/java/org/libresonic/player/boot/Application.java @@ -11,7 +11,7 @@ import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.ImportResource; -@SpringBootApplication(scanBasePackages = "org.libresonic.player.controller,org.libresonic.player.validator,org.libresonic.player.security") +@SpringBootApplication @Configuration @ImportResource(value = {"classpath:/applicationContext-service.xml", "classpath:/applicationContext-cache.xml", diff --git a/libresonic-main/src/main/resources/libresonic-servlet.xml b/libresonic-main/src/main/resources/libresonic-servlet.xml index d3635bea..5ae4d97e 100644 --- a/libresonic-main/src/main/resources/libresonic-servlet.xml +++ b/libresonic-main/src/main/resources/libresonic-servlet.xml @@ -13,6 +13,9 @@ http://www.springframework.org/schema/mvc/spring-mvc.xsd"> +