From 1def9b421796eef9c31ea6ce5463c57f05167461 Mon Sep 17 00:00:00 2001 From: Alexander Alexeev Date: Thu, 10 Nov 2016 02:06:56 +0700 Subject: "ignoreResourceNotFound = true" for juick.conf --- .../java/com/juick/components/configuration/CrosspostConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-crosspost/src/main/java/com/juick') diff --git a/juick-crosspost/src/main/java/com/juick/components/configuration/CrosspostConfiguration.java b/juick-crosspost/src/main/java/com/juick/components/configuration/CrosspostConfiguration.java index 99555a1b..0b213cc9 100644 --- a/juick-crosspost/src/main/java/com/juick/components/configuration/CrosspostConfiguration.java +++ b/juick-crosspost/src/main/java/com/juick/components/configuration/CrosspostConfiguration.java @@ -34,7 +34,7 @@ import java.util.concurrent.Executors; */ @Configuration @ComponentScan(basePackages = {"com.juick"}) -@PropertySource("classpath:juick.conf") +@PropertySource(value = "classpath:juick.conf", ignoreResourceNotFound = true) public class CrosspostConfiguration extends WebMvcConfigurationSupport { @Inject Environment env; -- cgit v1.2.3