Yes I did add it as a context-param...
Debugging output is as follows:
Code:
2012-12-18 14:20:18,311 [localhost-startStop-1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Searching for key 'spring.profiles.active' in [servletConfigInitParams]
2012-12-18 14:20:18,311 [localhost-startStop-1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Searching for key 'spring.profiles.active' in [servletContextInitParams]
2012-12-18 14:20:18,311 [localhost-startStop-1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Found key 'spring.profiles.active' in [servletContextInitParams] with type [String]
and value 'default'
and:
Code:
2012-12-18 14:20:22,376 [localhost-startStop-1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Searching for key 'application.url' in [environmentProperties]
2012-12-18 14:20:22,376 [localhost-startStop-1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Searching for key 'application.url' in [servletConfigInitParams]
2012-12-18 14:20:22,376 [localhost-startStop-1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Searching for key 'application.url' in [servletContextInitParams]
2012-12-18 14:20:22,376 [localhost-startStop-1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Searching for key 'application.url' in [jndiProperties]
2012-12-18 14:20:22,377 [localhost-startStop-1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Searching for key 'application.url' in [systemProperties]
2012-12-18 14:20:22,377 [localhost-startStop-1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Searching for key 'application.url' in [systemEnvironment]
2012-12-18 14:20:22,377 [localhost-startStop-1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Could not find key 'application.url' in any property source. Returning [null]
2012-12-18 14:20:22,377 [localhost-startStop-1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Searching for key 'application.url' in [localProperties]
2012-12-18 14:20:22,377 [localhost-startStop-1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Could not find key 'application.url' in any property source. Returning [null]
2012-12-18 14:20:22,395 [localhost-startStop-1] ERROR org.springframework.web.context.ContextLoader - Context initialization failed
application.url being the problematic key...