Hi,
Ever since moving to STS from Websphere I've been unable to load a resource bundle using
This method is called in the org.springframework.context.support.ResourceBundle MessageSource class. Spring is logging the following statement:Code:ResourceBundle.getBundle(basename, locale, getBundleClassLoader());
WARN org.springframework.context.support.ResourceBundle MessageSource - ResourceBundle [/WEB-INF/themes/ny] not found for MessageSource: Can't find bundle for base name /WEB-INF/themes/ny, locale en
even though the theme properties files are clearly in the right place. I noticed that the class loader passed in to the getBundle method is TomcatAspectJWeavingClassLoader. Do I need to wire in a different class loader?? Interestingly, my ReloadableResourceBundleMessageSource properties files are all working fine.
Thanks for any help that anyone can provide!
Tim


Reply With Quote