tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Mikusa <dmik...@vmware.com>
Subject Re: Embedded tomcat won't resolve Spring application properties
Date Mon, 01 Oct 2012 13:11:59 GMT
 On Oct 1, 2012, at 5:42 AM, Julien Martin wrote:

> Hello,
> 
> I am experiencing trouble with my embedded tomcat: when I run my Spring app
> using the embedded Tomcat, it seems the properties are not resolved.

What about using a standard (i.e. not embedded, not part of Eclipse) Tomcat installation?
 Does this work?

> 
> Even if the properties file are loaded:
> 
> INFO  org.springframework.context.support.PropertySourcesPlaceholderConfigurer
> - Loading properties file from file
> [/home/julien/Documents/donnees/projets/Site-Rencontres/java/target/classes/META-INF/i18n/application.properties]
> 
> The resource bundles are not found:
> 
> WARN  org.springframework.context.support.ResourceBundleMessageSource
> - ResourceBundle [/META-INF/i18n/application] not found for
> MessageSource: Can't find bundle for base name
> /META-INF/i18n/application, locale fr

This is off topic for this list, but what does your Spring configuration look like for this?

Dan



> However, when I run my app from Eclipse/STS, I have no such issue.
> 
> Can anyone please help?
> 
> Regards,
> 
> Julien.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message