Seabamirum
Sep 27th, 2010, 07:33 PM
Hi,
Ever since moving to STS from Websphere I've been unable to load a resource bundle using
ResourceBundle.getBundle(basename, locale, getBundleClassLoader());
This method is called in the org.springframework.context.support.ResourceBundle MessageSource class. Spring is logging the following statement:
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
Ever since moving to STS from Websphere I've been unable to load a resource bundle using
ResourceBundle.getBundle(basename, locale, getBundleClassLoader());
This method is called in the org.springframework.context.support.ResourceBundle MessageSource class. Spring is logging the following statement:
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