diff --git a/src/main/java/de/thm/arsnova/config/ExtraConfig.java b/src/main/java/de/thm/arsnova/config/ExtraConfig.java index d33ce426f17f2a8d5d066861cb4f926e18c2cc56..01954c15f73b43d4444fda42e03945dd1b3a9def 100644 --- a/src/main/java/de/thm/arsnova/config/ExtraConfig.java +++ b/src/main/java/de/thm/arsnova/config/ExtraConfig.java @@ -14,7 +14,7 @@ import de.thm.arsnova.connector.client.ConnectorClientImpl; @Configuration @PropertySources({ @PropertySource("arsnova.properties.example"), - @PropertySource("file:///etc/arsnova/connector.properties"), + @PropertySource("file:///etc/arsnova/arsnova.properties"), }) public class ExtraConfig { @@ -23,7 +23,10 @@ public class ExtraConfig { @Bean public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() { - return new PropertySourcesPlaceholderConfigurer(); + PropertySourcesPlaceholderConfigurer configurer = new PropertySourcesPlaceholderConfigurer(); + configurer.setIgnoreResourceNotFound(true); + configurer.setIgnoreUnresolvablePlaceholders(false); + return configurer; } @Bean(name = "connectorClient")